Getting Data In

Why is Splunk indexing two hostnames when I only have one set in inputs.conf?

sureshsala
Explorer

I am monitoring two files:
/var/log/secure and
/var/log/messages

In the Data Summary Hosts tab, I have two hosts:
mymachine.mycompany.internal
mymachine

inputs.conf

[default]
host = mymachine.mycompany.internal
0 Karma

ryandg
Communicator

I am guessing /var/log/secure are linux secure -- did you happen to install the TA? My best guess is that there's a transforms/props file on the searchhead that is causing the host name to be re-written depending on the content of the message. Do you notice a pattern of which ones say mymachine versus the others?

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...