Getting Data In

Trigger HTTP call for every event received at Real time

thebosshere
Explorer

I have an use case in which for every event/data-input that reaches the Splunk server, certain fields need to be parsed out and a HTTP call triggered with the parsed parameters in the real-time non-window'd mode. What is the appropriate way to achieve that.

Splunk Version used: 6.x

Thanks in Advance.

Tags (3)
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi thebosshere,

regarding the first part of your use case, this is no problem in Splunk. You can either setup index time field extraction or search time field extraction to get your needed fields.

The next part of your use case could be tricky; because this is not really Splunk related, but a question of how this remote HTTP call should be triggered on the remote system.

You can setup a real-time alert, which searches for your events and fires a script on every match.

Maybe this can be of help for you: http://wiki.splunk.com/Community:Use_Splunk_alerts_with_scripts_to_create_a_ticket_in_your_ticketing...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi thebosshere,

regarding the first part of your use case, this is no problem in Splunk. You can either setup index time field extraction or search time field extraction to get your needed fields.

The next part of your use case could be tricky; because this is not really Splunk related, but a question of how this remote HTTP call should be triggered on the remote system.

You can setup a real-time alert, which searches for your events and fires a script on every match.

Maybe this can be of help for you: http://wiki.splunk.com/Community:Use_Splunk_alerts_with_scripts_to_create_a_ticket_in_your_ticketing...

cheers, MuS

thebosshere
Explorer

Thanks MuS. Yes used your suggestion as starting point. That helped.

0 Karma

MuS
SplunkTrust
SplunkTrust

take the wiki link as example not as solution for your use case 😉 Just create a real-time alert that fires a script each time it gets a hit on your events. What that script should do is up to the remote / receiving system....

thebosshere
Explorer

Thanks MuS. When I go through the wiki link, it mentions "saved search". Does this mean the Real time stream cant be accessed directly by the script? Newbie to this area, so my doubts may be completely wrong.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...