Getting Data In

Source Names

simonattardGO
Path Finder

Hi,

We have a Splunk system set up. When we log into splunk and go to the search dashboard, all the sources appear with the IP and port eg: 10.12.34.56:1001
We would like to be able to see a more descriptive representation of the url, rather than the IP e.g. Application Server 1

We know this can be achieved by setting the source = "Application Server 1" in inputs.conf. However, when we do so, all the logs which are already indexed do not appear under Application Server 1 but they remain under 10.12.34.56:1001.

Is there a way how to change the source of the logs which are already received?

Thanks

Simon

Tags (1)
0 Karma

Ayn
Legend

No, "source" is an indexed field that cannot be changed once it's set.

You could possibly create lookup files that map input sources to more descriptive names, and then look at the field(s) created by the lookup. That could apply to all results, not just newly indexed ones.

Get Updates on the Splunk Community!

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...