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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...