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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...