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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...