Splunk Search

Changing AM/PM to 24 hours in search timeline

bojanz
Communicator

Hi all,

Is it possible to change the display of Flashtimeline (for example, the one used in the "search" app) to display time in 24 hours instead of AM/PM?

If yes, are those per-user settings or system settings?

Is it possible to change this in the frame where the results are displayed too (next to the drop down icon for building event types and extracting fields)?

Thanks.

Tags (1)
1 Solution

ftk
Motivator

Simply use the british locale. Instead of logging on to http://servername:8000/en-US/account/login log on to http://servername:8000/en-GB/account/login and all times will be in 24 hour format.

[edit: answer comment]

The locale of splunk is determined by the browser locale, see http://www.splunk.com/base/Documentation/4.1.4/admin/Userlanguageandlocale for more information.

Basically you have two options:

  1. Distribute a login URL to your users with the en-GB locale in the URL
  2. Change the user's browser locale to en-GB.

View solution in original post

ftk
Motivator

I have updated my answer to reply to the question posted in your comment.

0 Karma

ftk
Motivator

Simply use the british locale. Instead of logging on to http://servername:8000/en-US/account/login log on to http://servername:8000/en-GB/account/login and all times will be in 24 hour format.

[edit: answer comment]

The locale of splunk is determined by the browser locale, see http://www.splunk.com/base/Documentation/4.1.4/admin/Userlanguageandlocale for more information.

Basically you have two options:

  1. Distribute a login URL to your users with the en-GB locale in the URL
  2. Change the user's browser locale to en-GB.

bojanz
Communicator

Thanks this works 🙂 - just one more question, is there a way to set this as the default on the server? So that it doesn't care what locale the user's browser sends?

0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...