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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...