Getting Data In
Highlighted

HTTP Event Collector: How to generate token through Splunk CLI ?

Explorer

UI for HTTP event collector is adding an entry in inputs.conf with a related token which gets generated while creating this input.

Is there any way we can generate this token on command line?

Thanks

0 Karma
Highlighted

Re: HTTP Event Collector: How to generate token through Splunk CLI ?

Splunk Employee
Splunk Employee

Hi @abhisawa,
Here is documentation on using the CLI to generate a token:
http://dev.splunk.com/view/event-collector/SP-CAAAE7C#createanhttpeventcollectortokenusingthecli

Hope this helps!

View solution in original post

Highlighted

Re: HTTP Event Collector: How to generate token through Splunk CLI ?

Path Finder

I wish that link still worked...

Re: HTTP Event Collector: How to generate token through Splunk CLI ?

Splunk Employee
Splunk Employee
Highlighted

Re: HTTP Event Collector: How to generate token through Splunk CLI ?

Path Finder

Yes, you can use "uuidgen" (with no arguments) from the linux command line to generate a token like the one the Splunk GUI does when it creates a new HEC input.

0 Karma