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!

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, ...