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 | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...