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!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...