# Configuring Data Input & Index

In order for Splunk to receive data from the ElastiFlow Unified Flow Collector you must first configure a Data Input & an Index.

There are 5 steps to set up a Data Input & Index

1. Create a Data Input: Settings -> Data Inputs -> HTTP Event Collector -> **+Add New** ![image](https://user-images.githubusercontent.com/43585378/190283981-fdd806ff-ec97-449c-8f77-af4e024d8d47.png) ![image](https://user-images.githubusercontent.com/43585378/190283983-e79a07b8-8068-4bd4-ab0d-cb49401252b8.png)
2. Give it a Name, click Next ![image](https://user-images.githubusercontent.com/43585378/190283985-ebac24a9-3ae8-4246-8faa-7cfbc5477a81.png)
3. Source Type -> Select -> Select Source Type -> Log To Metrics -> log2metrics\_keyvalue ![image](https://user-images.githubusercontent.com/43585378/190283987-c43a8462-5785-472a-b47d-7916249190eb.png)
   1. Select Allowed Indexes (pick the ElastiFlow Index you want to use, if one does not exist click "Create a new index") ![image](https://user-images.githubusercontent.com/43585378/190283988-fe780355-71f4-4dda-8779-9ba87bfba8be.png)
   2. Verify these sections and click Review: ![image](https://user-images.githubusercontent.com/43585378/190283990-03f95aa8-d114-4513-b686-fe38af1d801c.png)
4. Click Submit ![image](https://user-images.githubusercontent.com/43585378/190283991-0261e18b-316b-4522-b27b-4645c9419b25.png)
5. Copy this Token Value and use it in your ElastiFlow configuration here ![image](https://user-images.githubusercontent.com/43585378/190283992-63795753-8190-4124-869b-e0155c406a0d.png) ![image](https://user-images.githubusercontent.com/43585378/190283993-cd881d47-81e8-4b01-ae72-6a314838aa43.png) ![image](https://user-images.githubusercontent.com/43585378/190283996-5fe83939-5cc6-4c69-ad0e-dd7096ced4cc.png)
