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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...