Splunk Search

Is it possible to do Complex Event Processing based on some Business Rules in Splunk?

sharukh619
New Member

We are in an implementation of Splunk on top of our EDW. Is it possible to do Complex Event Processing based on some Business Rules in Splunk? And I want to Extract data (Tables and Attributes) from my Database, is it possible with Splunk?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Depending on how complex your business rules are, you may be able to implement them using custom commands. Provide more detail about what you are trying to do and we can provide a more detailed answer.

To extract data from a SQL database, look at the Splunk DB Connect (https://splunkbase.splunk.com/app/2686/) app.

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

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Depending on how complex your business rules are, you may be able to implement them using custom commands. Provide more detail about what you are trying to do and we can provide a more detailed answer.

To extract data from a SQL database, look at the Splunk DB Connect (https://splunkbase.splunk.com/app/2686/) app.

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

sharukh619
New Member

Hi Richgalloway,
Thanks For your answer,

          For Example,
          I have to Alert a customer when the below criteria met
          Event: 'ALERT_AVAIL_EMERGENCY_BALANCE'
          When  
          CUST_Balance=0
          and
          REPYMNT_GRADE='A'
          Then
          ALERT_AVAIL_EMERGENCY_BALANCE

Whether this kind of Event Processing and alerts are possible in Splunk?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That is very common in Splunk. To send an alert, schedule a saved search similar to this

index=foo "ALERT_AVAIL_EMERGENCY_BALANCE" where (CUST_Balance=0 REPYMNT_GRADE='A') | table <fields of interest>

Set the search to trigger an alert whenever the number of results is greater than zero. Check the box to send an email and fill in the appropriate fields.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...