All Apps and Add-ons

Why is value of bytes sent for channel status is negative?

binyu03
New Member

I found that the value of bytes sent for Channel status is negative when it is greater than 2^31.

It showed a positive number in MQ explorer. It seems that the plugin treats the number as a signed 32 bit integer. When the value is greater than 2^31, it is interpreted as a negative number.

The first picture is from Splunk and the second one is from MQ explorer. I can add 2^32 to this negative number to get the correct value.

But what is the root cause of the problem? I am using 64 bit red hat server.
Is this caused by ctypes library?

alt text

alt text

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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