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!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...