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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...