<?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: How can I count lines? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84934#M21658</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;... |stats sum(linecount) AS MyTotalLines | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/kristian&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2012 09:26:19 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2012-06-27T09:26:19Z</dc:date>
    <item>
      <title>How can I count lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84931#M21655</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;

&lt;P&gt;This is my search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=tcp:5555 PURCH_DAY=06-14 PURCH_DATE=19  PURCH_MIN&amp;gt;44 | stats count by ID_CARDHOLDER| sort - count | where count&amp;gt;=5|rangemap field=count severe=10-50 elevated=3-9 default=low
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My problem is that I don't able to count the number of lines that my search returns. I want to apply my rangemap on the number of lines but I don't know how I can do it because I try count(_raw) but I don't use it correctly I think.&lt;/P&gt;

&lt;P&gt;Thx by advance,&lt;/P&gt;

&lt;P&gt;Laura&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 08:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84931#M21655</guid>
      <dc:creator>LauraBre</dc:creator>
      <dc:date>2012-06-27T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I count lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84932#M21656</link>
      <description>&lt;P&gt;Number of lines in what? Individual raw events? Have you checked the &lt;CODE&gt;linecount&lt;/CODE&gt; property?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 08:42:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84932#M21656</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-06-27T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I count lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84933#M21657</link>
      <description>&lt;P&gt;No, I want to count the total lines that my search returns, not indivduals raw events.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 09:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84933#M21657</guid>
      <dc:creator>LauraBre</dc:creator>
      <dc:date>2012-06-27T09:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I count lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84934#M21658</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;... |stats sum(linecount) AS MyTotalLines | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/kristian&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 09:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-count-lines/m-p/84934#M21658</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-27T09:26:19Z</dc:date>
    </item>
  </channel>
</rss>

