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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...