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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...