Security

Creating HEC token for clustered environment

payl_chdhry
Path Finder

Hi All,

 

We have a clustered environment where we want to enable and add HEC on Heavy Forwarder but I am not able to figure out how to do this via deployment server. I need the exact steps you can do from server (not web) and without login into HF, should only login to DS. I would prefer it to be done just by updating configuration files and not via web as we are also looking to automate this in future. The basic issue i have a how to generate the token itself, is this something we can give on our own or do we need to generate each time? This page does not tell how i can generate a token value: https://docs.splunk.com/Documentation/Splunk/8.2.0/Data/UseHECusingconffiles

I addition we are not going to use the default httinputs app but create new app for each index if required, like splunk_httpinput_<appname>

 

Please help!

Thanks,

 

Labels (1)
Tags (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Hi

The token is generated by uuidgen or something similar. Basically you could use any token which you want, but maybe it's better to use that UUID format. You can use e.g. in linux uuidgen or use some other tools which generate UUIDs. Just add this to inputs.conf file and then deploy it with your own apps.

One remarks which we have found with MC, when you are monitoring HEC with several HF, is that MC warns that you have several same tokens installed.

r. Ismo

 

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

The token is generated by uuidgen or something similar. Basically you could use any token which you want, but maybe it's better to use that UUID format. You can use e.g. in linux uuidgen or use some other tools which generate UUIDs. Just add this to inputs.conf file and then deploy it with your own apps.

One remarks which we have found with MC, when you are monitoring HEC with several HF, is that MC warns that you have several same tokens installed.

r. Ismo

 

payl_chdhry
Path Finder

Thanks @isoutamo Let me try this once.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...