Deployment Architecture

How do I Search logs with two different logger ?

pratapfriends00
New Member

I have a scenario in which I have two logger one is for "writing to database" and the other is "successfully completed". Am trying for query which you give result when the first loggers is present but the second logger is missing to set alert when it fails to write to DB.

Tags (1)
0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

Can you provide a sample of each event? Is there a common value that helps you tie the "writing to database" to the "successfully completed"? You could possibly use transaction command but will need more info from you regarding the events?

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 ...