All Apps and Add-ons

Splunk DB Connect: How do you set an email alert for when DB Inputs/Connections are down due to any issue?

Sidharda
Path Finder

Hi Splunkers,

I am trying to set up an alert for my DB Inputs and Connections. The main aim here is that I wanted to get notified when any of the DB Inputs /Connections are disabled or brought down.

I am clueless here on how to setup this. looking for any help !!

0 Karma

harsmarvania57
Ultra Champion

Can you please let us know DB Connect Version?

0 Karma

utkarshpatel
New Member

Hi Sidharda,

In our environment, we are looking at is the "splunk_app_db_connect" log in the index _internal to see what connection stats are written. If the DB connection fails, goes into time out or anything else then it is written here. You might check the same in your environment to see the results. From this log, we get the timeout and then we have set an alert that fires emails to us when the time out happens.

Hope this helps.!

0 Karma

Sidharda
Path Finder

Yes. It helped !! Thanks

0 Karma

Sidharda
Path Finder

Hi,

Its "Splunk DB Connect V2". Let me know if you are looking for any additional info.

0 Karma

davidcruz
Explorer

You can create a search to evaluate what's the average data size your source is producing:

index=_internal Metrics group=per_source_thruput series="name_of_the_source_you_defined_in_dbx" | stats avg(kb)

For the email alert, you can simply create an alarm to fire when avg(kb)=0, for example.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...