<?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: Query to find newly added sourcetypes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/549104#M155774</link>
    <description>&lt;P&gt;| metadata type=sourcetypes index="*"&lt;BR /&gt;| addinfo&lt;BR /&gt;| where (firstTime &amp;gt; info_min_time AND firstTime &amp;lt; info_max_time)&lt;/P&gt;&lt;P&gt;The above helps when you want to filter the value selected from TimeRangepicker.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 11:09:05 GMT</pubDate>
    <dc:creator>vn_g</dc:creator>
    <dc:date>2021-04-23T11:09:05Z</dc:date>
    <item>
      <title>Query to find newly added sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296647#M89493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using below query to find the newly added sourcetypes .&lt;/P&gt;

&lt;P&gt;| metadata type=sourcetypes | eval time=now()-firstTime | where time&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 22:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296647#M89493</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2017-03-28T22:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query to find newly added sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296648#M89494</link>
      <description>&lt;P&gt;This tells you sourcetypes which are new in the last week ( &lt;CODE&gt;7&lt;/CODE&gt; days):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sourcetypes 
| eval firstAgoSeconds=now()-firstTime 
| where firstAgoSeconds &amp;lt; (7 * 24 * 60 * 60)
| convert timeformat="%m-%d-%Y %H:%M:%S" ctime(firstTime) ctime(lastTime) ctime(recentTime)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Mar 2017 22:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296648#M89494</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-28T22:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Query to find newly added sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296649#M89495</link>
      <description>&lt;P&gt;@piebob, this is a duplicate:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/514972/sort-the-query-based-on-firstime-and-count.html#answer-516065"&gt;https://answers.splunk.com/answers/514972/sort-the-query-based-on-firstime-and-count.html#answer-516065&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 00:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/296649#M89495</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-29T00:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query to find newly added sourcetypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/549104#M155774</link>
      <description>&lt;P&gt;| metadata type=sourcetypes index="*"&lt;BR /&gt;| addinfo&lt;BR /&gt;| where (firstTime &amp;gt; info_min_time AND firstTime &amp;lt; info_max_time)&lt;/P&gt;&lt;P&gt;The above helps when you want to filter the value selected from TimeRangepicker.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-find-newly-added-sourcetypes/m-p/549104#M155774</guid>
      <dc:creator>vn_g</dc:creator>
      <dc:date>2021-04-23T11:09:05Z</dc:date>
    </item>
  </channel>
</rss>

