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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...