All Apps and Add-ons

Splunk app for Infrastructure / Host field is my HEC server?

archspangler
Path Finder

We have configured the "Splunk App for Infrastructure" per the documentation. We see some data in our metrics index but the host field is the name of my Splunk HEC receiver? Is this expected?

The "Splunk App for Infrastructure" doesn't see any entities at this point, I think it's because of the host field maybe?

Our infra looks like this.. Linux UF with collectd/write_splunk plugin ---> HEC HF ---> Index Cluster

Here is the query that I am using to try to find my data.

| mstats avg(_value) prestats=t WHERE index=mymetrics AND metric_name="*" span=1m by metric_name,host

I can see metrics with the following command.

| mcatalog values(metric_name) WHERE index=mymetrics

What am I missing, I am very new to the metrics indexes.

-Archie

0 Karma

9eagles
Explorer

This is normally an indicator that you did not install the "Splunk Add-on for Infrastructure". You need to install both in order to get your Host Field to populate correctly.

Check out this link to see exactly what needs to be installed where based on your environment. https://docs.splunk.com/Documentation/InfraApp/1.2.2/Install/DistributedDeployment

0 Karma

gsalomons
New Member

Try adding "connection_host = dns" or "connection_host = ip" on the HEC input.

This is the HEC config that I have in inputs.conf

[http://collectd]
disabled = 0
index = em_metrics
indexes = em_metrics
token = 0000
connection_host = dns
0 Karma
Get Updates on the Splunk Community!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...