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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...