Alerting

Can a search using dbxquery be saved as an alert?

dmartin
Engager

Hi,

I'm fairly new to Splunk and am considering using Splunk DB Connect to connect to one of our databases to monitor a specific table for errors. I want an alert to be generated when the number of rows returned is greater than 0. Will the dbxquery command work with Splunk alerts? Let me know if more information is needed.

Thanks!

Dylan

Labels (1)
Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Yes, the dbxquery command should work fine in an alert.  Alerts are just searches that perform actions.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Yes, the dbxquery command should work fine in an alert.  Alerts are just searches that perform actions.

---
If this reply helps you, Karma would be appreciated.

dmartin
Engager

Thank you!

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...