Splunk Search

Identifying multiple log streams on multiple hosts with the same paths (e.g. multiple JVM logs)

aoates
Splunk Employee
Splunk Employee

what options are available to make it clear to Splunk that particular log streams come from named environments and applications even if that information is

  • not in the logs themselves
  • not a function of hostname or IP (since 1 host may have multiple JVMs, each with multiple
  • not distinguishable by source/filename since the set of log streams for an application will be identical to that same application across numerous distinct environments
Tags (1)

gkanapathy
Splunk Employee
Splunk Employee

Assuming that you can identify the environment and application from a combination of host and source file path (I have to imagine that this is possible, since even without Splunk they would have to be able to figure this out), then you can just use a lookup table on the host and source (or a field that is extracted from a part of the source path). It's likely that there is some excel spreadsheet or table that already has this information that could be the basis for this lookup table.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...