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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...