Splunk Search

How to edit my timechart to change the tooltip display on hover?

architkhanna
Path Finder

I have a timechart which, on hover, shows complete date in the tooltip. Is there a way in which I can just show the month and year only in the tool tip?

0 Karma

rajeshjlnt
Path Finder

@architkhanna have you been able to find any solution for this?

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Try adding following to end of your current search

your current search | fieldformat _time=stftime(_time,"%Y-%m")
0 Karma

architkhanna
Path Finder

Hi,
Thank you for your response.I tried this ,however now the tooltip says "invalid timestamp" 😞

0 Karma

davebrooking
Contributor

I think there's a typo in the fieldformat command. It probably should read

 your current search | fieldformat _time=strftime(_time,"%Y-%m")

Dave

architkhanna
Path Finder

I tried with strftime .I was aware of that comand 🙂

Archit

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