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!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...