<?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: Drill down search command to aggregate stats list() count? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22075#M3739</link>
    <description>&lt;P&gt;Use stats count by (src_ip) &lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2011 11:24:19 GMT</pubDate>
    <dc:creator>mkashif</dc:creator>
    <dc:date>2011-06-03T11:24:19Z</dc:date>
    <item>
      <title>Drill down search command to aggregate stats list() count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22074#M3738</link>
      <description>&lt;P&gt;dear all&lt;/P&gt;

&lt;P&gt;i have logs including fields src-ip,hit-count,attack-dst-ip, and etc.&lt;BR /&gt;
if i wanna show results table as follows&lt;/P&gt;

&lt;P&gt;src-ip, src-ip-city, sum(hit-count), seperate attack-dst-ip, seperate sum(hit-count) by attack-dst-ip&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; 1.1.1.1 Los Angles, 10, 5.5.5.5, 2
                         6.6.6.6, 3
                         7.7.7.7, 5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;here src_ip may have different attack-dst-ip and its corrensponding sum of hit-count,&lt;BR /&gt;
how can i do this?&lt;/P&gt;

&lt;P&gt;i use following search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="xxx" | fields * | geoip src-ip | where src-ip_countryname="xxx" | stats sum(hit-count), values(dst-ip), list(hit-count) by src-ip, src-ip-city
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but list command will list all values rather than sum(hit-count) by previous attack-dst-ip,any good suggestions?thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 10:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22074#M3738</guid>
      <dc:creator>hjwang</dc:creator>
      <dc:date>2011-06-03T10:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down search command to aggregate stats list() count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22075#M3739</link>
      <description>&lt;P&gt;Use stats count by (src_ip) &lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 11:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22075#M3739</guid>
      <dc:creator>mkashif</dc:creator>
      <dc:date>2011-06-03T11:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Drill down search command to aggregate stats list() count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22076#M3740</link>
      <description>&lt;P&gt;i think you might missunderstand what i mean. anyway,thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 13:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drill-down-search-command-to-aggregate-stats-list-count/m-p/22076#M3740</guid>
      <dc:creator>hjwang</dc:creator>
      <dc:date>2011-06-03T13:06:23Z</dc:date>
    </item>
  </channel>
</rss>

