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 ?

Motivator

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

Highlighted

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

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
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.