<?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: Trying to get the first 10 events based on sourcetype in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134978#M36890</link>
    <description>&lt;P&gt;Outstanding! thanks much.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2014 00:02:58 GMT</pubDate>
    <dc:creator>Runals</dc:creator>
    <dc:date>2014-04-18T00:02:58Z</dc:date>
    <item>
      <title>Trying to get the first 10 events based on sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134976#M36888</link>
      <description>&lt;P&gt;I'm trying to get the first 10 or so events per sourcetype but the methodology is escaping me. You can't simply use the head command. I also am wanting all fields in the event so can't do something like | top 10 by sourcetype as that doesn't specify any fields. Any thoughts?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2014 12:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134976#M36888</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2014-04-17T12:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get the first 10 events based on sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134977#M36889</link>
      <description>&lt;P&gt;You can use the dedup command to only keep 10 of each sourcetype, returning the full events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | dedup 10 sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:25:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134977#M36889</guid>
      <dc:creator>kaufmanm</dc:creator>
      <dc:date>2014-04-17T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get the first 10 events based on sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134978#M36890</link>
      <description>&lt;P&gt;Outstanding! thanks much.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 00:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-get-the-first-10-events-based-on-sourcetype/m-p/134978#M36890</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2014-04-18T00:02:58Z</dc:date>
    </item>
  </channel>
</rss>

