Splunk Search

Gantt chart in splunk

kasu_praveen
Communicator

Hi,
I am very new to Splunk and will be working on Splunk project. There is a requirement in my project to create Gantt chart. What is the best way to create Gantt chart?

  1. With Splunk is that possible? If so can you show some references or examples, where I can get some knowledge on how to create with Splunk language?
  2. Or Can I create gantt chart with external JS library and hook to Splunk with javascript SDK? (If possible) If so please suggest any good JS library to create Gantt chart and way to hook.

Thanks in advance.
Praveen kasu

Tags (3)
0 Karma

bmacias84
Champion

Splunk already uses JScharts how ever it is a paired down version. You can get very technical with your charting using Advanced XML or Using the App framework. Check out this post building-a-gantt-chart.

Additional Reading:

This should help or get you started. Dont forget to accept answers or vote them up.

Cheers,

ChhayaV
Communicator

hi
i am also stuck in same thing from last 7-8 days can you please guide me how you did it ? i dint know much of Java
script

0 Karma

bmacias84
Champion
0 Karma

kasu_praveen
Communicator

Thanks for your time bmacias84.

Based on my project requirement, I wrote core JavaScript code, which will result in displaying "gantt-chart". My JavaScript code is looking for input's like X and Y-axis values.

Now the question is, I know my Splunk search is resulting in data required to prepare gantt-chart, But how to pass this search results data to JavaScript code and how to integrate this? Is there any existing examples I can refer?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...