<?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: Skip message starting with Integer in Splunk. in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Skip-message-starting-with-Integer-in-Splunk/m-p/397786#M6791</link>
    <description>&lt;P&gt;Give this a try,&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;eventtype=logs | where match(message, "\D") |  stats count as Total by message | rename message AS "Type"&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 17:47:39 GMT</pubDate>
    <dc:creator>sudosplunk</dc:creator>
    <dc:date>2018-08-09T17:47:39Z</dc:date>
    <item>
      <title>Skip message starting with Integer in Splunk.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Skip-message-starting-with-Integer-in-Splunk/m-p/397785#M6790</link>
      <description>&lt;P&gt;I am creating a query to get message type count but i want to skip some the message that are not valid . Some of the messages are starting like "-100" or "Data ...". I want to skip them while i counting the messages count.&lt;/P&gt;

&lt;P&gt;TO get the count i am using below query :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=logs |  stats count as Total by message | rename message AS "Type"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Message field has below data :&lt;/P&gt;

&lt;P&gt;Data nprops 5   1&lt;BR /&gt;
Data props 0&lt;BR /&gt;
-102&lt;BR /&gt;
1432&lt;BR /&gt;
sql error&lt;/P&gt;

&lt;P&gt;I want to skip all message which are starting from  positive ,negative number and those as well which start from Data.  &lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Skip-message-starting-with-Integer-in-Splunk/m-p/397785#M6790</guid>
      <dc:creator>gauravepi</dc:creator>
      <dc:date>2018-08-09T17:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Skip message starting with Integer in Splunk.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Skip-message-starting-with-Integer-in-Splunk/m-p/397786#M6791</link>
      <description>&lt;P&gt;Give this a try,&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;eventtype=logs | where match(message, "\D") |  stats count as Total by message | rename message AS "Type"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Skip-message-starting-with-Integer-in-Splunk/m-p/397786#M6791</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-08-09T17:47:39Z</dc:date>
    </item>
  </channel>
</rss>

