Splunk Search

Filtering logfiles showing one error log for every row

apmcharter
New Member

Hello,

I need help in creating a search query to filter info showing just our logfile with same error line for all rows.

This error code also appear in other days on the same logfile but I don't want that to show up.

If no other info except this error shows up in the logfile, our app is failing and I need to catch that.

c.q.s.c.StoreHourSyncRestController : *** Sync Busy ***

Please assist.

Thank you!

Andie Medalla

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

If I understand the requirements correctly, this query will only return events that do not match the sample text.

index=foo NOT "*c.q.s.c.StoreHourSyncRestController*"
| regex _raw!="c\.q\.s\.c\.StoreHourSyncRestController : \*\*\* Sync Busy \*\*\*"
| appendpipe [stats count | eval _raw="App is failing!" | where count=0]
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...