Getting Data In

Many indexes for many hosts? (no hostname in the logs)

Cesaredf
Explorer

Hi all,

I have a doubt about which can be the best practice about indexing if:

  • I have several splunk client forwarding to the same splunk server the same logs folder. Each night the logs are updated but no logs contain the host name to distinguish among them.

Now my doubt/question is: should I use different indexes per hosts? in such a case a could use different clones of the same app on each host right?

Does anybody has a better how-to or best practice?

Many thanks in advance Cdf.

Tags (1)
0 Karma

satishsdange
Builder

You can mention hostname in inputs.conf as shown below -

[default]
host = cisco_router1

[monitor:///opt/log/cisco_router1/cisco_ironport_web.log]

So that whenever indexer receives data from UF, it will have hostname.

Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...