Splunk Search

Show date in label

vikas_gopal
Builder

Hello Everyone,

Please suggest me how I can get current date and time in label .

Regards
Vikas

Tags (2)
0 Karma
1 Solution

vikas_gopal
Builder

finally I resolved it with Javascript and css file..

View solution in original post

0 Karma

vikas_gopal
Builder

finally I resolved it with Javascript and css file..

0 Karma

linu1988
Champion

It will help people If you could paste the solution rather than one liner as answer.

0 Karma

vikas_gopal
Builder

can't we do it in simple xml..?

0 Karma

somesoni2
Revered Legend

If you using advanced xml, you can use sideview util's ValueSetter module to define a variable which will store current date and use it in the label property.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...