All Apps and Add-ons

JMS Modular input data corruption

pcressy
Engager

Implemented JMS to read a Websphere MQ. The message text is coming in corrupted. I can read the field name fine but the message body is mostly "?" (example: msg_body="?????????????????). Looking at the data still inside the queue looks ok. I've tried some different settings in props.conf using the variable CHARSET=utf-8 with no change that I can see.

0 Karma

pcressy
Engager

The data was being sent ASCII but with a CCID of 037 (EBCDIC), so MQ was trying to convert to ASCII. Once the CCID was corrected it worked, this was all done on the vendor and MQ side, nothing with splunk was changed.

0 Karma

pcressy
Engager

The vendor sending the data has already converted it to ASCII, is it possible that jms is trying to convert ascii to ascii because it believes its in EPCDIC. What settings control what JMS is expecting.

0 Karma

Damien_Dallimor
Ultra Champion

The JMS Mod Input will process ASCII encoded payloads perfectly.

If you are saying that "The vendor sending the data has already converted it to ASCII" , then perhaps the issue is at the message producer side of the equation not correctly encoding ASCII.

If you are trying to send EBCDIC through , you would need to write a custom message handler (as technically this is binary content that needs decoding).

0 Karma

pcressy
Engager

The message is 3143 characters with predefined length. Here is some of the data that was pulled directly out of the queue.

20141028164938908415 01001H5#0$AWAUT TQW388IC26 TS2 Y 756026400229729162

0 Karma

Damien_Dallimor
Ultra Champion

Please elaborate on "character". Charsets , Encodings etc.....

Please give me an example of the correctly formatted expected message body that is being output as ??????????

0 Karma

Damien_Dallimor
Ultra Champion

Can you please describe the format, structure and encoding of what the actual message payload is. Examples help also.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...