> ## 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

CData Sync アプリケーションからSplunk コネクタを使用して、Splunk からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

## Splunk コネクタを追加

Sync でSplunk のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Splunk** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Splunk コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。

## 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

ユーザー資格情報で接続するには、次のプロパティを設定します：

<ul><li>\*\*Auth Scheme：\*\***Basic** を選択。</li>
<li>\*\*User：\*\*Splunk アカウントへの認証に使用するユーザー名を入力。</li>
<li>\*\*Password：\*\*Splunk アカウントへの認証に使用するパスワードを入力。</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.

## 接続を完了する

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.

## 詳細について


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