> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Splunk

You can use the Splunk connector from the CData Sync application to capture data
from Splunk and move it to any supported destination. To do so, you need to add
the connector, authenticate to the connector, and complete your connection.

## Add the Splunk Connector

To enable Sync to use data from Splunk, you first must add the
connector, as follows:

<ol>
  <li>Open the **Connections** page of the Sync dashboard.</li>
  <li>Click **Add Connection** to open the **Select Connectors** page.</li>
  <li>Click the **Sources** tab and locate
  the **Splunk** row.</li>

  <li>
    Click the **Configure Connection** icon at the end of that row to open
    the **New Connection** page. This action opens the
    **Add Connection** dialog.

    **Note:** If the **Configure Connection** icon is not
    available, click the **Download Connector** icon to install
    the Splunk connector.
  </li>

  <li>Enter a name for your connection in the **Add Connection** dialog.</li>
  <li>Click **Add** to open the **Settings** tab for your connector.</li>
</ol>

For more information about installing new connectors, see
[Connections](https://docs.sync.cdata.com/26.4/en/connections/connections.md).

## Authenticate to Splunk

After you add the connector, you need to set the required properties.

**URL:** Enter the URL for your Splunk endpoint (for example, https\://*YourSiteName*.splunk.com:8089).

CData Sync supports authenticating to Splunk in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**Basic**](#basic) (default)
* [**Access Token**](#access-token)
* [**HTTP Event Collector Token**](#http-event-collector-token)

### Basic

To connect with your user credentials, set the following properties:

<ul><li>**Auth Scheme:** Select **Basic**.</li>
<li>**User:** Enter the username that you use to authenticate to your Splunk account.</li>
<li>**Password:** Enter the password that you use to authenticate to your Splunk account.</li></ul>

### Access Token

To connect with an access token, specify the following properties:

* **Auth Scheme:** Select **AccessToken**.
* **Access Token:** Specify your Splunk access token. To obtain a token, navigate to **Users and Authentication > Tokens** to access your assigned authentication token. If you do not have a token, request one from the administrator of the instance that you want to access.

### HTTP Event Collector Token

To connect with an HTTP Event Collector token, specify the following properties:

* **Auth Scheme:** Select **HTTPEventCollectorToken**.
* **HTTP Event Collector Token:** Enter the HTTP Event Collector (HEC) token that is used to access the HTTP Event Controller feature in your Splunk account.

  If you do not know the HEC token, you need to generate one, as follows:

  1. Log into your Splunk account and navigate to **Settings > Data Inputs**.
  2. Under **Local Inputs**, click **HTTP Event Collector**.
  3. Click the **New Token** button (upper right).
  4. Configure token settings by filling in required fields such as name, source, and index.
  5. Enable the token by sliding the toggle switch to **Enabled**.
  6. Click **Save** to generate the token.
  7. Copy the token value shown on the confirmation screen and paste it in the **HTTP Event Collector Token** text box in Sync.

## Complete Your Connection

To complete your connection:

1. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
2. Click **Create & Test** to create your connection.

## More Information

For more information about interactions between CData Sync and Splunk, see
[Splunk Connector for CData Sync](https://cdn.cdata.com/help/FUN/synch/default.htm).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.