<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use a Gantt Chart in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183184#M18187</link>
    <description>&lt;P&gt;What exactly isn't working?&lt;/P&gt;

&lt;P&gt;One thing that jumps out while looking at your code is that the categoryField should be &lt;CODE&gt;Parameters&lt;/CODE&gt;, not &lt;CODE&gt;Parameter&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2015 13:14:38 GMT</pubDate>
    <dc:creator>alexiri</dc:creator>
    <dc:date>2015-03-11T13:14:38Z</dc:date>
    <item>
      <title>How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183183#M18186</link>
      <description>&lt;P&gt;Hi, I have a CSV file with start_time and end_time and the difference.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Parameters  START_TIME  END_TIME    DIFFERENCE IN MINS
param1        1425485370    1425490179  80.15
param2        1425525368    1425528124  45.93
param3        1425462452    1425464795  39.05
param4        1425619254    1425620315  17.68
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here the start and end time both are in epoch format.&lt;BR /&gt;
I want to built a Gantt chart, with Y axis as "Parameters" and X-axis as time over a day.&lt;BR /&gt;
I have taken help from  the &lt;A href="https://apps.splunk.com/app/1741/#/overview" target="_blank"&gt;Gantt Chart visualization&lt;/A&gt; app , but couldn't get through.&lt;BR /&gt;
I have altered the source code as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form script="autodiscover.js"&amp;gt;
    &amp;lt;label&amp;gt;Gantt Chart demo&amp;lt;/label&amp;gt;

    &amp;lt;row&amp;gt;
        &amp;lt;html&amp;gt;
            &amp;lt;h2&amp;gt;Gantt Chart demo&amp;lt;/h2&amp;gt;
            &amp;lt;div id="demo-search"
                 class="splunk-manager"
                 data-require="splunkjs/mvc/searchmanager"
                 data-options='{
                    "search": { "type": "token_safe", "value": "|inputcsv myfile.csv |table Parameters, START_TIME END_TIME" },
                    "earliest_time": { "type": "token_safe", "value": "-4h@m" },
                    "latest_time": { "type": "token_safe", "value": "now" },
                    "cancelOnUnload": true,
                    "preview": true
                 }'&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div id="demo-view"
                 class="splunk-view"
                 data-require="app/gantt/components/gantt/gantt"
                 data-options='{
                    "managerid": "demo-search",
                    "startField": "START_TIME",
                    "endField": "END_TIME",
                    "categoryLabel": "Parameters",
                    "categoryField": "Parameters",
                 }'&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/html&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please Help...!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:12:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183183#M18186</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2020-09-28T19:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183184#M18187</link>
      <description>&lt;P&gt;What exactly isn't working?&lt;/P&gt;

&lt;P&gt;One thing that jumps out while looking at your code is that the categoryField should be &lt;CODE&gt;Parameters&lt;/CODE&gt;, not &lt;CODE&gt;Parameter&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183184#M18187</guid>
      <dc:creator>alexiri</dc:creator>
      <dc:date>2015-03-11T13:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183185#M18188</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Sorry, It was typing mistake, its "Parameters" only&lt;BR /&gt;
I am using the source code of the Gantt Chart visualization app. There I have  inserted my search query which I mentioned above. And made the changes as per my understanding.&lt;BR /&gt;
When I save the XML Source Code, no result is displayed.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183185#M18188</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2015-03-11T13:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183186#M18189</link>
      <description>&lt;P&gt;Could it be because of the earliest_time? Perhaps there's actually no data in the last 4 hours. The sample data you sent is several days old, but I don't know if you're working with more data than that...&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183186#M18189</guid>
      <dc:creator>alexiri</dc:creator>
      <dc:date>2015-03-11T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183187#M18190</link>
      <description>&lt;P&gt;It might also be that there's an extra comma after &lt;CODE&gt;"categoryField": "Parameters"&lt;/CODE&gt;. Splunk's JSON parser is very picky about that sort of thing.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:41:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183187#M18190</guid>
      <dc:creator>alexiri</dc:creator>
      <dc:date>2015-03-11T13:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183188#M18191</link>
      <description>&lt;P&gt;Yes, that last comma was the actual problem.&lt;BR /&gt;
Thanks alexiri. It worked&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183188#M18191</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2015-03-12T12:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183189#M18192</link>
      <description>&lt;P&gt;I have changed the earlier and latest according to my data timestamp.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183189#M18192</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2015-03-12T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a Gantt Chart</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183190#M18193</link>
      <description>&lt;P&gt;Hi  harshal_chakranarayan,&lt;/P&gt;

&lt;P&gt;I faced a similar problem as you. Did your above example work? The gantt example makes use of events and transaction which is not directly applicable. I am trying to get an example like yours to work.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 09:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-use-a-Gantt-Chart/m-p/183190#M18193</guid>
      <dc:creator>sssignals</dc:creator>
      <dc:date>2017-11-01T09:24:37Z</dc:date>
    </item>
  </channel>
</rss>

