<?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 create a stacked bar graph showing total time and (total time-pending) stacked by filter? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206647#M60187</link>
    <description>&lt;P&gt;Try something like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=traffic_live | chart sum("Allocated Time") over "Employee_s Department" by "Allocation Interval Status" | eval REQUIRED=APPROVED+PENDING | rename APPROVED as CURRENT | table "Employee_s Department" REQUIRED CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 17 Feb 2016 23:52:38 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-02-17T23:52:38Z</dc:date>
    <item>
      <title>How to create a stacked bar graph showing total time and (total time-pending) stacked by filter?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206646#M60186</link>
      <description>&lt;P&gt;I want to create a stacked bar graph showing 2 columns stacked by department: 1 column is the total time and the second column is the total time-(time where status = pending)&lt;/P&gt;

&lt;P&gt;REQUIRED = "Allocated Time" where "Allocation Interval Status" = APPROVED OR PENDING&lt;BR /&gt;
CURRENT="Allocated Time" where "Allocation Interval Status" = APPROVED&lt;BR /&gt;
These 2 columns should show as a stacked bar graph where the stacking is done by "Employee_s Department"&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1059iF1E17A956674D02A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206646#M60186</guid>
      <dc:creator>timgirgis</dc:creator>
      <dc:date>2016-02-17T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a stacked bar graph showing total time and (total time-pending) stacked by filter?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206647#M60187</link>
      <description>&lt;P&gt;Try something like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=traffic_live | chart sum("Allocated Time") over "Employee_s Department" by "Allocation Interval Status" | eval REQUIRED=APPROVED+PENDING | rename APPROVED as CURRENT | table "Employee_s Department" REQUIRED CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2016 23:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206647#M60187</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-17T23:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a stacked bar graph showing total time and (total time-pending) stacked by filter?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206648#M60188</link>
      <description>&lt;P&gt;Thanks so much for your help, we took it from there and came up with this, which gave us what we wanted:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="TrafficLiveAll.csv" | chart sum("Allocated Time") over "Employee_s Department" by "Allocation Interval Status" | eval REQUIRED=(APPROVED+PENDING)/480 | eval CURRENT=APPROVED/480 | table REQUIRED CURRENT | transpose | rename "row 1" as "Business Development", "row 2" as "Capacity", "row 3" as "Creative", "row 4" as "Data Consulting", "row 5" as "Development", "row 6" as "General", "row 7" as "Marketing", "row 8" as "Project Management", "row 9" as "Quality Assurance"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-stacked-bar-graph-showing-total-time-and-total/m-p/206648#M60188</guid>
      <dc:creator>timgirgis</dc:creator>
      <dc:date>2016-02-18T15:09:00Z</dc:date>
    </item>
  </channel>
</rss>

