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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...