<?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 Timechart: split inputs over multiple lines in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308991#M5671</link>
    <description>&lt;P&gt;I want to display a line that represents the disk usage.&lt;BR /&gt;
There are 3 disks to monitor and they all have their own usage parameters.&lt;/P&gt;

&lt;P&gt;I use the following search:&lt;BR /&gt;
| pivot FreeDisk_George2 RootObject max(Value) AS "% Free Space" SPLITROW instance as Drive SPLITROW _time AS _time PERIOD auto FILTER instance in ("F:","C:","E:") SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1&lt;/P&gt;

&lt;P&gt;It gives me 3 lines but it is not representing the disk usage, because I'm not mentioning it somewhere.. Regretfully I don't know exactly what to change. What am I missing here?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 14:17:16 GMT</pubDate>
    <dc:creator>bwouters</dc:creator>
    <dc:date>2017-11-30T14:17:16Z</dc:date>
    <item>
      <title>Timechart: split inputs over multiple lines</title>
      <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308991#M5671</link>
      <description>&lt;P&gt;I want to display a line that represents the disk usage.&lt;BR /&gt;
There are 3 disks to monitor and they all have their own usage parameters.&lt;/P&gt;

&lt;P&gt;I use the following search:&lt;BR /&gt;
| pivot FreeDisk_George2 RootObject max(Value) AS "% Free Space" SPLITROW instance as Drive SPLITROW _time AS _time PERIOD auto FILTER instance in ("F:","C:","E:") SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1&lt;/P&gt;

&lt;P&gt;It gives me 3 lines but it is not representing the disk usage, because I'm not mentioning it somewhere.. Regretfully I don't know exactly what to change. What am I missing here?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 14:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308991#M5671</guid>
      <dc:creator>bwouters</dc:creator>
      <dc:date>2017-11-30T14:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart: split inputs over multiple lines</title>
      <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308992#M5672</link>
      <description>&lt;P&gt;I believe it's showing "% Free space" and not usage. May be subtract it's value from 100 will give "% Disk Used", like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| pivot FreeDisk_George2 RootObject max(Value) AS "% Free Space" SPLITROW instance as Drive SPLITROW _time AS _time PERIOD auto FILTER instance in ("F:","C:","E:") SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1 | foreach * [eval "&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;"=100-'&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;']
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Nov 2017 15:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308992#M5672</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-30T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart: split inputs over multiple lines</title>
      <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308993#M5673</link>
      <description>&lt;P&gt;Thank you for the suggestion.&lt;BR /&gt;
The main goal I try to achieve here is to have three separate lines in one line chart where each line represents the free space left on that drive.&lt;/P&gt;

&lt;P&gt;I don't really grasp the concept yet of how to separate these lines with Splunk. Any ideas on how to do that?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 07:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308993#M5673</guid>
      <dc:creator>bwouters</dc:creator>
      <dc:date>2017-12-01T07:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart: split inputs over multiple lines</title>
      <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308994#M5674</link>
      <description>&lt;P&gt;Short update:&lt;/P&gt;

&lt;P&gt;I'm now looking to make it work with 'chart'&lt;BR /&gt;
Using the following query:&lt;BR /&gt;
    source="perfmon:disk2" counter="% Free Space" (instance!="_Total") (instance!="HarddiskVolume1") | chart first(Value) by _time&lt;/P&gt;

&lt;P&gt;It gives me a nice line in the chart of only one disk, while I have three. How can I separate them?&lt;BR /&gt;
I would expect something like:&lt;BR /&gt;
    source="perfmon:disk2" counter="% Free Space" (instance!="_Total") (instance!="HarddiskVolume1") | chart first(eval(instance="C:")Value) by _time&lt;/P&gt;

&lt;P&gt;Basically saying, I want to have the Values of instance C: (C-drive) but obviously this isn't working but I can't get the syntax straight&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 10:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308994#M5674</guid>
      <dc:creator>bwouters</dc:creator>
      <dc:date>2017-12-01T10:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart: split inputs over multiple lines</title>
      <link>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308995#M5675</link>
      <description>&lt;P&gt;I found a solution:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| pivot FreeDiskSpace_AllDrivesG2 RootObject max(Value) AS "Max of Value" SPLITROW _time AS _time PERIOD auto SPLITCOL instance SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 NUMCOLS 100 SHOWOTHER 1 | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',2)]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This eventually gave me 3 separate lines which indicates the free space on each disk&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 12:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Timechart-split-inputs-over-multiple-lines/m-p/308995#M5675</guid>
      <dc:creator>bwouters</dc:creator>
      <dc:date>2017-12-01T12:09:27Z</dc:date>
    </item>
  </channel>
</rss>

