Splunk Search

Can we display additional fields in Gantt (bar) chart pop-up box?

AKG1_old1
Builder

Hello,

In Gantt chart, when we move the mouse over an event it displays a pop-up box with certain details. By default, its displays only 3 columns (_time , ScriptName, ScriptName2). Is it possible to display other columns (Duration, start-time, end time ) on pop-up box ?

Search Query:

index=_* OR index=* sourcetype=tool_lifecycle | eval ScriptName2=ScriptName | table _time ScriptName ScriptName2 Duration StartTime EndTime

Attached Screenshot.alt text

0 Karma

cmerriman
Super Champion

It looks like you're using the Timeline app, the documentation is found here for simpleXML options:
https://docs.splunk.com/Documentation/Timeline/1.1.0/TimelineViz/TimelineXML
it doesn't look like you can add other fields.

There is a Gantt Chart app found here: https://splunkbase.splunk.com/app/1741/ that can be customized.
the simpleXML would look something like (the search is a post-process called demo_search1):

<row>
    <panel>
      <title>Tool Lifecycle</title>
      <html encoded="1"><h2>Gantt Chart</h2>

            <div id="demo-view" class="splunk-view" data-require="app/gantt/components/gantt/gantt" data-options="{                                  
            &amp;quot;managerid&amp;quot;: &amp;quot;demo_search1&amp;quot;,                                  
            &amp;quot;startField&amp;quot;: &amp;quot;_time&amp;quot;,                                  
            &amp;quot;durationField&amp;quot;: &amp;quot;duration&amp;quot;,                                 
            &amp;quot;categoryLabel&amp;quot;: &amp;quot;ScriptName&amp;quot;,                                  
            &amp;quot;categoryField&amp;quot;: &amp;quot;ScriptName&amp;quot;,                                  
            &amp;quot;seriesLabel&amp;quot;: &amp;quot;SecondScriptName&amp;quot;,                                  
            &amp;quot;seriesField&amp;quot;: &amp;quot;ScriptName2&amp;quot;,                                  
            &amp;quot;extrasField&amp;quot;: &amp;quot;anyExtraField&amp;quot;,                                  
            &amp;quot;compact&amp;quot;: &amp;quot;true&amp;quot;                               }">
            </div></html>
    </panel>
  </row>
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...