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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...