All Apps and Add-ons

In Splunk Enterprise, can you help me set up the AMQP Modular Input?

lavster
Path Finder

Hello,

we are trying to pull in the JSON message from a rabbit server. However, we seem to be getting all the config from the queue before hand. Is there a way to just pull in the msg_body?

Here is an example of the events in Splunk

Fri Sep 28 12:55:36 BST 2018 name=amqp_msg_received event_id=null msg_queue=ES_queue msg_exchange=BMISG msg_body={"TIMESTAMP":"2018-09-27-18:14:26.727","MESSAGETYPE":"INFO","SYSTEM":"BMI","MODULE":"Prep Step","SUBMODULE":"unionData","MESSAGE":"Testing Data.","RUNID":"TEST_201806_064"}
0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

Try adding a custom message handler : com.splunk.modinput.amqp.JSONMessageHandler

alt text

View solution in original post

Damien_Dallimor
Ultra Champion

Try adding a custom message handler : com.splunk.modinput.amqp.JSONMessageHandler

alt text

lavster
Path Finder

Thanks Damien

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...