<?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: Comparing the sourcetypes between certain period. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161585#M32785</link>
    <description>&lt;P&gt;|metadata type=sourcetypes index=fmo*|where recentTime &amp;lt; now()-2592000|convert ctime(*Time)&lt;/P&gt;

&lt;P&gt;before convert just use a where condition to check your requirement&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:35:39 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2020-09-28T16:35:39Z</dc:date>
    <item>
      <title>Comparing the sourcetypes between certain period.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161583#M32783</link>
      <description>&lt;P&gt;I have a concern here, the requirement for me is to get a list of sourcetypes which are not sending logs from last 1month (say) and I have tried to take the list of last month active sourcetypes and this month, post on which I would do  a 'vlookup' in the excel. &lt;BR /&gt;
Yes, I agree this is manual, but the comparison is possible n Splunk as a query?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 10:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161583#M32783</guid>
      <dc:creator>udayk1</dc:creator>
      <dc:date>2014-05-13T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the sourcetypes between certain period.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161584#M32784</link>
      <description>&lt;P&gt;Hi udayk1,&lt;/P&gt;

&lt;P&gt;you can do this very easy in Splunk using the &lt;A href="http://apps.splunk.com/app/1645/"&gt;&lt;CODE&gt;timewrap&lt;/CODE&gt;&lt;/A&gt; command. Take this run everywhere search command which compares the event counts for &lt;CODE&gt;sourcetype=splunkd_access&lt;/CODE&gt; over the last 4 weeks:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd_access earliest=-3w@w | timechart count by sourcetype | timewrap w
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regarding your use case, a non-active sourcetype would be on this chart with count &lt;CODE&gt;0&lt;/CODE&gt; if it stopped producing events within the last 4 weeks. If the sourcetype stopped 5 or 6 weeks ago you will have to extend the time range from weeks to month.&lt;/P&gt;

&lt;P&gt;hope this helps to get you started ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 10:51:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161584#M32784</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-13T10:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the sourcetypes between certain period.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161585#M32785</link>
      <description>&lt;P&gt;|metadata type=sourcetypes index=fmo*|where recentTime &amp;lt; now()-2592000|convert ctime(*Time)&lt;/P&gt;

&lt;P&gt;before convert just use a where condition to check your requirement&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:35:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Comparing-the-sourcetypes-between-certain-period/m-p/161585#M32785</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2020-09-28T16:35:39Z</dc:date>
    </item>
  </channel>
</rss>

