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?
Here is documentation on using the CLI to generate a token:
Hope this helps!
View solution in original post
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.
I wish that link still worked...
Here's the Splunk doc for it: