Splunk Cloud Platform

How to get db connect exception with timestamp via query

Marta88
Explorer

Hi,

I am looking for a query to get list of DBConnect exceptions with their timestamp in order to plot them in a graph.

Thank you

Kind regards

Marta

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What events do you have ingested into Splunk showing this condition?

0 Karma

Marta88
Explorer

Splunk is logging something in the index=_internal. For instance if I run "index=_internal dbconnect" I see something but I am not sure that this is the exact query.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Are the events you are interested in returned by this search?

Do you need to filter further e.g. 

index=_internal dbconnect exception
0 Karma

Marta88
Explorer

Actually the event I am interest in are not returned by this search. I noticed that this search is returning as event the query that I am doing.  Maybe I should search a different index.

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