Monitoring Splunk

Chart display International Units (SI)

dukie
New Member

Hi,

I need my charts in Splunk to be displayed in SI International System of Units (metric system).

When using "Number Abbreviations" in format Y-Axis the prefix of 10^9 will be display as B (Billion), instead of wanted G (Giga).

alt text

alt text

Second question is how to display time in 24h format instead of AM/PM (X-Axis).

Thx

/Henrik

Tags (1)
0 Karma
1 Solution

FrankVl
Ultra Champion

The clock is controlled by the locale sent to Splunk by your browser. Either change it in the URL, or configure your browser to use a different locale. In this case, use en-GB instead of en-US. That doesn't seem to solve your number abbreviation issue though and even setting Splunk to a non-English locale (e.g. German, de-DE) keeps the B, while in German 10^9 is called "Milliarden".

Of course, if this particular chart is always showing values in this order of magnitude, you could simply add an eval to your search to divide the values by 10^9 and add the G as a unit.

View solution in original post

0 Karma

DavidHourani
Super Champion

Hi @dukie,

For changing the time have a look here :
https://answers.splunk.com/answers/374011/convert-time-from-ampm-to-24-hour-format.html

You can leverage the strptime command to achieve that.

As for the "Number Abbreviations" go for the eval command, makes everything much easier, I would even advise you to make it into a macro that way you can change it without having to go through all the searches you've applied it to.

Cheers,
David

0 Karma

FrankVl
Ultra Champion

The clock is controlled by the locale sent to Splunk by your browser. Either change it in the URL, or configure your browser to use a different locale. In this case, use en-GB instead of en-US. That doesn't seem to solve your number abbreviation issue though and even setting Splunk to a non-English locale (e.g. German, de-DE) keeps the B, while in German 10^9 is called "Milliarden".

Of course, if this particular chart is always showing values in this order of magnitude, you could simply add an eval to your search to divide the values by 10^9 and add the G as a unit.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...