<?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: Using Chart over two fields grouped by time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213060#M62473</link>
    <description>&lt;P&gt;Hi Woodcock! Thanks for your prompt response but i want Channel &amp;amp; Popularity as two different fields instead of appending it into one delimited by ":".&lt;/P&gt;

&lt;P&gt;Below is the example :&lt;/P&gt;

&lt;P&gt;Channel Name    Popularity  04-Nov-15   05-Nov-15&lt;BR /&gt;
1   Sky Movies Premiere     1   78  74&lt;BR /&gt;
2   Sky Movies Showcase     2   82  71&lt;BR /&gt;
3   Sky Movies Greats   3   80  72&lt;BR /&gt;
4   Sky Movies Disney   4   77  66&lt;BR /&gt;
5   Sky Movies Family   5   81  75&lt;BR /&gt;
6   Sky Movies Action &amp;amp; Adventure   6   79  60&lt;/P&gt;

&lt;P&gt;Any other suggestions will be highly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2015 05:56:58 GMT</pubDate>
    <dc:creator>kabiraj</dc:creator>
    <dc:date>2015-11-05T05:56:58Z</dc:date>
    <item>
      <title>Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213058#M62471</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I am trying to pull up a table containing Time, Channel &amp;amp; Popularity as fields.&lt;/P&gt;

&lt;P&gt;I am using : &lt;CODE&gt;chart useother=f max(position) over Channel by Time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Above gives me only Channel &amp;amp; Time as fields in the table but i want Channel, Popularity &amp;amp; Time as fields.&lt;/P&gt;

&lt;P&gt;I tried : &lt;CODE&gt;chart useother=f max(position) over Channel Popularity by Time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But failed as it showed a syntax error.&lt;/P&gt;

&lt;P&gt;Below is a sample of result&lt;/P&gt;

&lt;P&gt;Channel    03-Nov-15   04-Nov-15&lt;BR /&gt;
Watch   27  29&lt;BR /&gt;
Universal   14  15&lt;BR /&gt;
TLC HD  54  64&lt;BR /&gt;
TLC     21  20 &lt;/P&gt;

&lt;P&gt;I want Popularity to be added besides the Channel field&lt;/P&gt;

&lt;P&gt;Any Ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:11:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213058#M62471</guid>
      <dc:creator>kabiraj</dc:creator>
      <dc:date>2015-11-04T12:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213059#M62472</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval Channel_and_Popularity = Channel . ":" . Popularity | chart useother=f max(position) OVER Channel_and_Popularity BY Time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213059#M62472</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-04T14:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213060#M62473</link>
      <description>&lt;P&gt;Hi Woodcock! Thanks for your prompt response but i want Channel &amp;amp; Popularity as two different fields instead of appending it into one delimited by ":".&lt;/P&gt;

&lt;P&gt;Below is the example :&lt;/P&gt;

&lt;P&gt;Channel Name    Popularity  04-Nov-15   05-Nov-15&lt;BR /&gt;
1   Sky Movies Premiere     1   78  74&lt;BR /&gt;
2   Sky Movies Showcase     2   82  71&lt;BR /&gt;
3   Sky Movies Greats   3   80  72&lt;BR /&gt;
4   Sky Movies Disney   4   77  66&lt;BR /&gt;
5   Sky Movies Family   5   81  75&lt;BR /&gt;
6   Sky Movies Action &amp;amp; Adventure   6   79  60&lt;/P&gt;

&lt;P&gt;Any other suggestions will be highly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 05:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213060#M62473</guid>
      <dc:creator>kabiraj</dc:creator>
      <dc:date>2015-11-05T05:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213061#M62474</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | eval = Channel . ":" . Popularity | chart useother=f max(position) OVER Channel_and_Popularity BY Time | rex field=Channel_and_Popularity "(?&amp;lt;Channel &amp;gt;[^:]+):(?&amp;lt;Popularity &amp;gt;[^:]+)" | fields Channel Popularity *-*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Nov 2015 13:44:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213061#M62474</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-05T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213062#M62475</link>
      <description>&lt;P&gt;Works like a Charm! Thank you! I think the Combination &amp;amp; splitting of fields and &lt;CODE&gt;*-*&lt;/CODE&gt; did the trick. Thanks for sharing your expertise.&lt;BR /&gt;
Just wanted to ask can we show N number of fields in the table just by giving &lt;CODE&gt;*-*&lt;/CODE&gt; in the query? &lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 05:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213062#M62475</guid>
      <dc:creator>kabiraj</dc:creator>
      <dc:date>2015-11-06T05:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Chart over two fields grouped by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213063#M62476</link>
      <description>&lt;P&gt;Yes, but they must be 1-to-1 (In other words each value deterministically maps to a single value in each of the joined fields). &lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 16:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Chart-over-two-fields-grouped-by-time/m-p/213063#M62476</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-06T16:00:59Z</dc:date>
    </item>
  </channel>
</rss>

