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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...