<?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: How do you exclude results based on multiple fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-exclude-results-based-on-multiple-fields/m-p/382142#M173889</link>
    <description>&lt;P&gt;if you are trying to delete duplicates&lt;BR /&gt;
 eg: &lt;BR /&gt;
2018-12-27 13:14:08 host&lt;BR /&gt;
2018-12-27 13:14:08 host &lt;BR /&gt;
you can use - | dedup _time host (you will have just 1 event left)&lt;/P&gt;

&lt;P&gt;if you are trying to completely exclude the events, try using &lt;BR /&gt;
| stats dc(host) as count by _time | where count =1&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 19:21:04 GMT</pubDate>
    <dc:creator>saurabhkharkar</dc:creator>
    <dc:date>2018-12-27T19:21:04Z</dc:date>
    <item>
      <title>How do you exclude results based on multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-exclude-results-based-on-multiple-fields/m-p/382141#M173888</link>
      <description>&lt;P&gt;I am trying to get where I have if the _time and host are the same I exclude those results.  I was thinking an eval or where statement might do it, but I can't figure out the syntax for either one.&lt;/P&gt;

&lt;P&gt;I tried stats to count(_time) and where count is &amp;gt;=2 to show the results to test but it gives me no results.&lt;/P&gt;

&lt;P&gt;Any thoughts would help.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-exclude-results-based-on-multiple-fields/m-p/382141#M173888</guid>
      <dc:creator>HealyManTech</dc:creator>
      <dc:date>2018-12-27T19:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude results based on multiple fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-exclude-results-based-on-multiple-fields/m-p/382142#M173889</link>
      <description>&lt;P&gt;if you are trying to delete duplicates&lt;BR /&gt;
 eg: &lt;BR /&gt;
2018-12-27 13:14:08 host&lt;BR /&gt;
2018-12-27 13:14:08 host &lt;BR /&gt;
you can use - | dedup _time host (you will have just 1 event left)&lt;/P&gt;

&lt;P&gt;if you are trying to completely exclude the events, try using &lt;BR /&gt;
| stats dc(host) as count by _time | where count =1&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-exclude-results-based-on-multiple-fields/m-p/382142#M173889</guid>
      <dc:creator>saurabhkharkar</dc:creator>
      <dc:date>2018-12-27T19:21:04Z</dc:date>
    </item>
  </channel>
</rss>

