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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...