<?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: Looking for new events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233931#M69523</link>
    <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date_minute = strftime(_time, "%M") | eval FirstOrSecond=if((date_minute&amp;gt;=30), "Second", "First") | eventstats dc(FirstOrSecond) AS numHalves BY IP | where FirstOrSecond="First" OR (FirstOrSecond="Second" AND numHalves=1) | timechart ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 07 May 2016 15:30:49 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-05-07T15:30:49Z</dc:date>
    <item>
      <title>Looking for new events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233929#M69521</link>
      <description>&lt;P&gt;Good Day Everyone, &lt;/P&gt;

&lt;P&gt;I"m trying to construct a search that will search our weblogs over a one hour period and report on IP addresses that didn't appear in the first half hour.  I would like to display the sum of new IPs in a timechart.   The approach I'm started to take is to search the hour,  create 1 minute buckets, group by IP address, and add a column that indicates if it was first half or second half of the hour so the data now looks something like this..&lt;BR /&gt;
Time    IP  &amp;amp;nbsp              Count    Group&lt;BR /&gt;
08:00 10.10.10.10  20           First&lt;BR /&gt;
08:01 10.10.10.10  27           First&lt;BR /&gt;
08:00 10.10.10.11  3             First&lt;BR /&gt;
.....&lt;BR /&gt;
08:32 10.10.10.11  79           Second&lt;BR /&gt;
08:33 10.10.10.14  11           Second&lt;BR /&gt;
08:34 10.10.10.14  44           Second&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;So, now I'm trying to Create a TimeChart that includes ALL values from first group, and ONLY IPs in the second group that aren't included in the first group.  This is where I'm stumped.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 18:57:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233929#M69521</guid>
      <dc:creator>richnavis</dc:creator>
      <dc:date>2016-05-06T18:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for new events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233930#M69522</link>
      <description>&lt;P&gt;index=abc earliest=-60m latest=-31m |table _time IP |eval Group=First | join _time [search index= abc NOT [search  index=abc earliest=-60m latest=-31m |dedup IP| table IP] earliest=-30m latest=now |table _time IP|eval Group=Second]| table _time Group&lt;/P&gt;

&lt;P&gt;This should give you result from group 2 avoiding IP's from first group.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 19:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233930#M69522</guid>
      <dc:creator>jensonthottian</dc:creator>
      <dc:date>2016-05-06T19:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for new events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233931#M69523</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date_minute = strftime(_time, "%M") | eval FirstOrSecond=if((date_minute&amp;gt;=30), "Second", "First") | eventstats dc(FirstOrSecond) AS numHalves BY IP | where FirstOrSecond="First" OR (FirstOrSecond="Second" AND numHalves=1) | timechart ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 May 2016 15:30:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Looking-for-new-events/m-p/233931#M69523</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-05-07T15:30:49Z</dc:date>
    </item>
  </channel>
</rss>

