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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...