<?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: Looking for a way to display sub items, kind of like pivot table in Excel. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52451#M12748</link>
    <description>&lt;P&gt;would this be what you want?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(ip) as IPs by url
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 31 May 2013 21:28:01 GMT</pubDate>
    <dc:creator>BobM</dc:creator>
    <dc:date>2013-05-31T21:28:01Z</dc:date>
    <item>
      <title>Looking for a way to display sub items, kind of like pivot table in Excel.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52450#M12747</link>
      <description>&lt;P&gt;Hi,  I am looking to display results a certain way and want to know if this is possible in Splunk.  We have proxy logs that contain URLs and client IPs.  I want to group by URLs (top 20) and display all IPs that connected to them.  I want the output to look something like this,,&lt;/P&gt;

&lt;P&gt;Url  CountOfConnections&lt;BR /&gt;&lt;BR /&gt;
..Client IP list&lt;/P&gt;

&lt;P&gt;google.com  3&lt;BR /&gt;&lt;BR /&gt;
...192.168.1.2&lt;BR /&gt;&lt;BR /&gt;
...192.168.1.7&lt;BR /&gt;&lt;BR /&gt;
...192.168.1.3&lt;BR /&gt;&lt;BR /&gt;
yahoo.com 2&lt;BR /&gt;&lt;BR /&gt;
...192.168.1.2&lt;BR /&gt;&lt;BR /&gt;
...192.168.1.3&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;Basically a visually simple way to distinguish urls and clients.  &lt;/P&gt;

&lt;P&gt;Doing something like  "top 20 url ip" doesn't look good for this type of report.  Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 19:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52450#M12747</guid>
      <dc:creator>oleg106</dc:creator>
      <dc:date>2013-05-31T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to display sub items, kind of like pivot table in Excel.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52451#M12748</link>
      <description>&lt;P&gt;would this be what you want?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(ip) as IPs by url
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2013 21:28:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52451#M12748</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2013-05-31T21:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to display sub items, kind of like pivot table in Excel.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52452#M12749</link>
      <description>&lt;P&gt;Thanks, but that's no quite it.  I already tried it before.  It doesn't give me a count for each site, and also I can't figure out a way to sort it by # of IPs per url.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2013 01:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52452#M12749</guid>
      <dc:creator>oleg106</dc:creator>
      <dc:date>2013-06-01T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to display sub items, kind of like pivot table in Excel.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52453#M12750</link>
      <description>&lt;P&gt;so add another function.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| stats values(ip) as IPs dc(ip) as ipCount by url | sort - ipCount&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2013 08:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-a-way-to-display-sub-items-kind-of-like-pivot-table/m-p/52453#M12750</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2013-06-01T08:39:07Z</dc:date>
    </item>
  </channel>
</rss>

