<?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 to exclude a specific value from a column? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428520#M170678</link>
    <description>&lt;P&gt;If you just want to filter out the events that are outliers, then you simply have to use isOutlier=0 or isOutlier!=1 in your base search.  Unless I am not understanding your goal correctly.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 02:07:14 GMT</pubDate>
    <dc:creator>kmorris_splunk</dc:creator>
    <dc:date>2019-06-19T02:07:14Z</dc:date>
    <item>
      <title>How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428519#M170677</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a table with 2 columns: "_time" and "isOutlier". &lt;BR /&gt;
I want to remove all the fields with the value = 1 from the column "isOutlier".&lt;BR /&gt;
Is there any command?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 21:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428519#M170677</guid>
      <dc:creator>rosho</dc:creator>
      <dc:date>2019-06-18T21:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428520#M170678</link>
      <description>&lt;P&gt;If you just want to filter out the events that are outliers, then you simply have to use isOutlier=0 or isOutlier!=1 in your base search.  Unless I am not understanding your goal correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 02:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428520#M170678</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2019-06-19T02:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428521#M170679</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;
&lt;CODE&gt;... your search ... | where isOutlier!=1&lt;/CODE&gt;&lt;BR /&gt;
or this&lt;BR /&gt;
&lt;CODE&gt;... your search ... | search isOutlier!=1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 02:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428521#M170679</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-06-19T02:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428522#M170680</link>
      <description>&lt;P&gt;Yes, but then I want to remove the whole row.&lt;BR /&gt;
So If I have 744 rows with 10 outliers; I will end up with 764 rows.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428522#M170680</guid>
      <dc:creator>rosho</dc:creator>
      <dc:date>2019-06-19T13:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428523#M170681</link>
      <description>&lt;P&gt;But then how I remove the whole row? &lt;/P&gt;

&lt;P&gt;This is my SPL:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup fortigate_QC_May2019_logins.csv
| fit StandardScaler "logins" with_mean=false with_std=true
| fit LocalOutlierFactor "SS_logins" n_neighbors=10 algorithm=auto metric=minkowski p=2 contamination=0.1 leaf_size=30

| IT IS HERE WHERE I HAVE TO REMOVE THE WHOLE ROW WITH THE OUTLIER

| table _time, isOutlier
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428523#M170681</guid>
      <dc:creator>rosho</dc:creator>
      <dc:date>2019-06-19T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific value from a column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428524#M170682</link>
      <description>&lt;P&gt;This is the answer! haha! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup fortigate_QC_May2019_logins.csv
| fit StandardScaler "logins" with_mean=false with_std=true
| fit LocalOutlierFactor "SS_logins" n_neighbors=10 algorithm=auto metric=minkowski p=2 contamination=0.1 leaf_size=30
| where NOT isOutlier==1
| table _time, SS_logins
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-a-specific-value-from-a-column/m-p/428524#M170682</guid>
      <dc:creator>rosho</dc:creator>
      <dc:date>2019-06-19T14:09:50Z</dc:date>
    </item>
  </channel>
</rss>

