<?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 Similar events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Similar-events/m-p/28770#M4948</link>
    <description>&lt;P&gt;Hello, I am quite a new user of splunk and have a question.&lt;/P&gt;

&lt;P&gt;Is there any way of having splunk to match data that is somewhat similar? What I would like to do is to have a summary count of all syslog events, they can contain different data (host names, user names, addresses). Do I have to try to find fields and use them or is there any easier way?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2011 20:08:45 GMT</pubDate>
    <dc:creator>Henkis</dc:creator>
    <dc:date>2011-06-15T20:08:45Z</dc:date>
    <item>
      <title>Similar events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Similar-events/m-p/28770#M4948</link>
      <description>&lt;P&gt;Hello, I am quite a new user of splunk and have a question.&lt;/P&gt;

&lt;P&gt;Is there any way of having splunk to match data that is somewhat similar? What I would like to do is to have a summary count of all syslog events, they can contain different data (host names, user names, addresses). Do I have to try to find fields and use them or is there any easier way?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:08:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Similar-events/m-p/28770#M4948</guid>
      <dc:creator>Henkis</dc:creator>
      <dc:date>2011-06-15T20:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Similar events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Similar-events/m-p/28771#M4949</link>
      <description>&lt;P&gt;Your best bet is to use the &lt;CODE&gt;punct&lt;/CODE&gt; field which is the pattern of the event. You can read more about this field here: &lt;A href="http://www.splunk.com/base/Documentation/4.2.2/User/UseDefaultAndInternalFields#punct"&gt;http://www.splunk.com/base/Documentation/4.2.2/User/UseDefaultAndInternalFields#punct&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For example: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog | stats count first(_raw) as event by punct | table count event | sort -count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jun 2011 22:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Similar-events/m-p/28771#M4949</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-06-15T22:30:30Z</dc:date>
    </item>
  </channel>
</rss>

