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!

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...