Dashboards & Visualizations

How to add date and time on top of event timeline?

POR160893
Builder

Hi,

I have created a timeline of URLs hit over a given session.
Here is my chart:

POR160893_1-1650628462189.png

 



and here is the respective XML code:

POR160893_2-1650628537750.png

 



However, I need to add the time and dates on the top of the timeline as such:

POR160893_0-1650628431993.png



How can I do this?



Many thanks,
Patrick

0 Karma

POR160893
Builder
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@POR160893 - You are using custom visualization from Splunkbase - https://splunkbase.splunk.com/app/4370/#/details

 

I don't think that visualization supports any customization around the date format to use as of now.

You can either contact the Developer to see if they have more information that what is documented or if they are willing to do enhancement what you need.

Or if you have JavaScript experties you can create your own custom visualization similar to this one by following - https://docs.splunk.com/Documentation/SplunkCloud/latest/AdvancedDev/CustomVizTutorial 

  • This is definitely not a quick resolution, but you will be able to do anything that you like.

 

----------
I hope this helps!!!

POR160893
Builder

There is clearly a way to do it with this app as the sample diagram I sent on my post comes from code I found online which also uses this type of visualization:https://community.splunk.com/t5/Splunk-Search/help-with-timeline-viz-needed/m-p/485846

I am just having trouble understanding what part of the code refers to the dates on top of the chart 😞

@anmolpatel  can you please help as you wrote this code initially?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...