Getting Data In

Is it possible to manually add data to an event collector index

diliptmonson
Explorer

I have created an event collector index and I have some past information which needs to be added in the same index to which event collector is configured.
I tried to add the data through ' Add Data' from Splunk Web. However I was not able to add any data into the event collector index.
Would you know if we will be able to manually add the data to event collector indexes

Tags (2)
0 Karma

pgreer_splunk
Splunk Employee
Splunk Employee

Are you talking about the HTTP event collector?

Event Collector info here

If so, then yes, you can manually inject data into the HTTP event collector through utilities such as the *nix (and MacOS) cURL command.

See This Docs Page at the bottom on how to use cURL to pass data into the HTTP event collector (using your URL and your event collector token.
Once you have tested via command line, you could script (in your favorite scripting language) a bulk load of any batch data or historical data that you'd wish to upload into your HTTP event collector index.

0 Karma

somesoni2
Revered Legend

YOu couldn't add data from Splunk Web because you didn't find the index in the dropdown?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...