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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...