Splunk Dev

How the retrieve HEC host and port using Javascript?

jramos123
Engager

Hello, I'm trying to find a way to fetch/get the HEC host and port of Splunk instance using Javascript SDK in the frontent, but I could not find any source of information that allows me to do such thing...

 

Any one to help?

 

Thanks

Labels (4)
0 Karma

mcmaster
Communicator

HEC details are meant to be configurable by the application sending data to HEC. Splunk may or may not be aware of the appropriate name/address/port (e.g. the HEC receiver may actually be a heavy forward, or a load balancer in front of an index cluster).

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...