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!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...