# Preparing Splunk

> To use Splunk, you need to set up HTTP Event Collector (HEC).

To use Splunk, you need to set up HTTP Event Collector (HEC).

1. Open **Splunk**.
2. Go to Settings > Data inputs.

   ![Screenshot of the Settings menu with the Data inputs button highlighted.](https://dev-assets.cms.uipath.com/assets/images/insights/insights-screenshot-of-the-settings-menu-with-the-data-inputs-button-highlighted-248237-5caf9b63-cd3b1ce6.webp)
3. Select **HTTP Event Collector**.
4. Select the green **New Token** button from the top-right corner.
5. Fill in the **Name** field with a name for your HEC.
6. Select **Next**.

   ![Screenshot with the Next button and Name field highlighted.](https://dev-assets.cms.uipath.com/assets/images/insights/insights-screenshot-with-the-next-button-and-name-field-highlighted-248241-18c008bb-99c9db75.webp)
7. Select the index you want to ingest data into. In the example screenshot **main** is selected. You can customize your choice in this page.

   ![Screenshot of the Add Data page.](https://dev-assets.cms.uipath.com/assets/images/insights/insights-screenshot-of-the-add-data-page-248245-dff3a944-8f275858.webp)
8. Select **Review**.
9. Select **Submit**.
