Getting Data In

Where can I find the host for HEC URI?

adasteph123
New Member

This is probably a stupid question where can I find the <host> for the HEC URI 

<protocol>://<host>:<port>/<endpoint>

 I am using the server name in the server.conf  for <host>but that isn't working. Also tried the IP address of my instance  and that isn't working either. 

What am I missing?

 

Thanks

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @adasteph123,

it should work using both hostname or (better) IP of the Splunk serv er where you enabled HEC input.

If it doesn't run you have to check at first if the route between tager server and Splunk server is open, then you have to check if the token is correct.

For more infos see at https://docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector or at https://dev.splunk.com/enterprise/docs/devtools/httpeventcollector/

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...