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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...