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!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...