<?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: Do I have to turn count and if on like we have to do with delete? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188095#M54193</link>
    <description>&lt;P&gt;Sorry I did not know there was a search manual. &lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2015 13:26:04 GMT</pubDate>
    <dc:creator>BITSIntern</dc:creator>
    <dc:date>2015-07-01T13:26:04Z</dc:date>
    <item>
      <title>Do I have to turn count and if on like we have to do with delete?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188093#M54191</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I am having some trouble trying to do a search. I want to do a search that involves the tools &lt;STRONG&gt;count&lt;/STRONG&gt; and &lt;STRONG&gt;if&lt;/STRONG&gt; but it keeps giving me an error like: Unknown search command 'count'. When I wanted to delete a few things from my index, I had to go to my access controls and turn on the delete command but when I went back I did not see anything about other command functions. &lt;/P&gt;

&lt;P&gt;Am I doing something wrong or do I need to turn the tools on?&lt;/P&gt;

&lt;P&gt;Please let me know!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188093#M54191</guid>
      <dc:creator>BITSIntern</dc:creator>
      <dc:date>2015-07-01T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have to turn count and if on like we have to do with delete?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188094#M54192</link>
      <description>&lt;P&gt;count and if are not commands. Stats and eval are, and those use count and if.&lt;/P&gt;

&lt;P&gt;so....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your_search&amp;gt; | stats count by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will get you started.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchTutorial/WelcometotheSearchTutorial"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchTutorial/WelcometotheSearchTutorial&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188094#M54192</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2015-07-01T13:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have to turn count and if on like we have to do with delete?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188095#M54193</link>
      <description>&lt;P&gt;Sorry I did not know there was a search manual. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-turn-count-and-if-on-like-we-have-to-do-with-delete/m-p/188095#M54193</guid>
      <dc:creator>BITSIntern</dc:creator>
      <dc:date>2015-07-01T13:26:04Z</dc:date>
    </item>
  </channel>
</rss>

