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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...