<?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 Graph by two fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Graph-by-two-fields/m-p/147681#M41268</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a log file that creates 3 unique files for each node every 15 minutes.  I would like to graph the PercentUsed by HDD and by NODE, so for this example I would have 6 different lines.  Currently I'm using an eval statement to concatenate the NODE and the HDD as a new field and graphing 'by new_field'.  &lt;/P&gt;

&lt;P&gt;Is there a more elegant way of doing this?  Maybe somehow saying max(Percent_Used) by HDD by NODE?&lt;/P&gt;

&lt;P&gt;The files look like this:    &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;2013-11-19 07:52:06 (NODE1) HDD=1 Percent_Used=49%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE1) HDD=2 Percent_Used=19%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE1) HDD=3 Percent_Used=37%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:06 (NODE2) HDD=1 Percent_Used=50%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE2) HDD=2 Percent_Used=66%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE2) HDD=3 Percent_Used=05%&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2013 14:19:34 GMT</pubDate>
    <dc:creator>AlexMcDuffMille</dc:creator>
    <dc:date>2013-11-19T14:19:34Z</dc:date>
    <item>
      <title>Graph by two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-by-two-fields/m-p/147681#M41268</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a log file that creates 3 unique files for each node every 15 minutes.  I would like to graph the PercentUsed by HDD and by NODE, so for this example I would have 6 different lines.  Currently I'm using an eval statement to concatenate the NODE and the HDD as a new field and graphing 'by new_field'.  &lt;/P&gt;

&lt;P&gt;Is there a more elegant way of doing this?  Maybe somehow saying max(Percent_Used) by HDD by NODE?&lt;/P&gt;

&lt;P&gt;The files look like this:    &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;2013-11-19 07:52:06 (NODE1) HDD=1 Percent_Used=49%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE1) HDD=2 Percent_Used=19%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE1) HDD=3 Percent_Used=37%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:06 (NODE2) HDD=1 Percent_Used=50%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE2) HDD=2 Percent_Used=66%&lt;/P&gt;

&lt;P&gt;2013-11-19 07:52:05 (NODE2) HDD=3 Percent_Used=05%&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-by-two-fields/m-p/147681#M41268</guid>
      <dc:creator>AlexMcDuffMille</dc:creator>
      <dc:date>2013-11-19T14:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Graph by two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-by-two-fields/m-p/147682#M41269</link>
      <description>&lt;P&gt;Hi AlexMcDuffMiller,&lt;/P&gt;

&lt;P&gt;you can use &lt;CODE&gt;chart&lt;/CODE&gt; for this kind of tables, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Chart#Example_4"&gt;docs&lt;/A&gt; for the &lt;CODE&gt;chart ... over ... by&lt;/CODE&gt; example.&lt;BR /&gt;
If you want a table like output, the &lt;CODE&gt;by&lt;/CODE&gt; argument sets the columns and the &lt;CODE&gt;over&lt;/CODE&gt; argument sets the rows.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-by-two-fields/m-p/147682#M41269</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-11-19T15:07:24Z</dc:date>
    </item>
  </channel>
</rss>

