Splunk Search

Is "strftime() %X" defined by the Splunk server's operating system or the locale the browser?

simpkins1958
Contributor

From Splunk docs for %X: The time in the format for the current locale. For US English the format for 9:30 AM is 9:30:00.

From Splunk docs for %c: The date and time in the current locale's format as defined by the server's operating system. For example, Mon Jul 13 09:30:00 2015 for US English on Linux.

Question -- is %X as defined by the Splunk server's operating system OR the locale of the browser viewing the page?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Since the strftime command is processed on the server, the server's locale/OS rules.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...