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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...