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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...