Deployment Architecture

splunk gets confused after log is rotated by my app server restart

scott74nyc
New Member

My app server gets restarted once a day. Sometimes, Splunk will treat individual lines as unique log entry. So what should be one log entry becomes multiple log entries. For example,

The below log should be one log but shows up as 4 log entries in Splunk.

[Date] [Time] [ERROR] message line 1
message line 2
message line 3
message line 4

Can anyone advice me on fixing this occasional issue?

0 Karma

scott74nyc
New Member

My log entry line break is not showing up. This is how it should look like

[Date] [Time] [ERROR] message line 1
message line 2
message line 3
message line 4

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...