<?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 filter values to remove attributes from a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502577#M139882</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;Thank you for your response. A have a few questions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The MATCH function is working as expected. However, why do we need to add "." before the "*"?&lt;/LI&gt;
&lt;LI&gt;The SEARCH function is not working. I get "No results found"...do you know why?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Thank you again.&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 14:31:24 GMT</pubDate>
    <dc:creator>gmartinv</dc:creator>
    <dc:date>2020-05-19T14:31:24Z</dc:date>
    <item>
      <title>How to filter values to remove attributes from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502575#M139880</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I appended two different searches within Splunk. Then I created a table, and now I need to filter the values of the  &lt;CODE&gt;Terminated_List&lt;/CODE&gt; attribute that do not contain the string  &lt;CODE&gt;Terminated&lt;/CODE&gt;. I am using the following search, but the final  &lt;CODE&gt;where&lt;/CODE&gt; is not working properly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=employees [search index=employees source="*_Terminated_Employee_*" | stats latest(source) AS source] | dedup Email_Address | fields Email_Address Terminated_List |eval e_Mail=tostring(upper(Email_Address)) | eval Terminated_List="Terminated Employees"

| append [search index=employees [search index=employees source="*Terminated IT Contractor*" | stats latest(source) AS source] | dedup Email | fields Email Terminated_List |eval e_Mail=tostring(upper(Email)) | eval Terminated_List="Terminated Contractors"] 

| table e_Mail Terminated_List | where Terminated_List!="*Terminated*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas or suggestions??&lt;/P&gt;

&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 22:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502575#M139880</guid>
      <dc:creator>gmartinv</dc:creator>
      <dc:date>2020-05-18T22:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter values to remove attributes from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502576#M139881</link>
      <description>&lt;P&gt;Unlike &lt;CODE&gt;search&lt;/CODE&gt;, &lt;CODE&gt;where&lt;/CODE&gt; does not use &lt;CODE&gt;*&lt;/CODE&gt; as a wildcard character - it's a literal.  You can use &lt;CODE&gt;where NOT match(Terminated_List, ".*Terminated.*")&lt;/CODE&gt;, but it's simpler to use &lt;CODE&gt;search "*Terminated*"&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 23:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502576#M139881</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-18T23:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter values to remove attributes from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502577#M139882</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;Thank you for your response. A have a few questions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The MATCH function is working as expected. However, why do we need to add "." before the "*"?&lt;/LI&gt;
&lt;LI&gt;The SEARCH function is not working. I get "No results found"...do you know why?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502577#M139882</guid>
      <dc:creator>gmartinv</dc:creator>
      <dc:date>2020-05-19T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter values to remove attributes from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502578#M139883</link>
      <description>&lt;P&gt;&lt;CODE&gt;match&lt;/CODE&gt; uses regular expressions.  In regular expressions, &lt;CODE&gt;.*&lt;/CODE&gt; means any character, any number of times.&lt;BR /&gt;
I don't know why &lt;CODE&gt;search&lt;/CODE&gt; isn't working.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 12:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-values-to-remove-attributes-from-a-table/m-p/502578#M139883</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-20T12:36:44Z</dc:date>
    </item>
  </channel>
</rss>

