Splunk Search

Changing AM/PM to 24 hours in search timeline

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

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

Motivator

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

0 Karma

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

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