<?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 particular values? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685625#M233944</link>
    <description>&lt;P&gt;The "no file found" message is excluded in the base search.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mulesoft environment=* applicationName IN ("processor","api") message!="No files found for*"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 26 Apr 2024 13:51:51 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-04-26T13:51:51Z</dc:date>
    <item>
      <title>How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685608#M233937</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How to exclude particular values of fields in this query.In my scenario if message having "file not found" so i dont want to show the transactions. below is the query i tried to exclude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mulesoft environment=*   applicationName IN ("processor","api")|where message!="No files found for*"
| stats values(content.InterfaceName) as InterfaceName  values(content.Error) as error values(message) as message values(priority) as  priority min(timestamp) AS Logon_Time, max(timestamp) AS Logoff_Time BY  applicationName,correlationId
| table  Status InterfaceName applicationName Timestamp "Total Elapsed Time"  FileList "SuccessFile/FailureFile" Response  correlationId 
| search  InterfaceName IN ("Test")
And i tried 
| search NOT message IN ("No files found for*")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:28:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685608#M233937</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-26T11:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685611#M233938</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt; command does not handle wildcards.&amp;nbsp; Instead, use the &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; command.&lt;/P&gt;&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;values&lt;/FONT&gt; function produces multi-value fields, which require special handling.&lt;/P&gt;&lt;P&gt;Try&amp;nbsp; this query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mulesoft environment=* applicationName IN ("processor","api") message!="No files found for*"
| stats values(content.InterfaceName) as InterfaceName  values(content.Error) as error values(message) as message values(priority) as  priority min(timestamp) AS Logon_Time, max(timestamp) AS Logoff_Time BY  applicationName,correlationId
| where isnotnull(mvfind(InterfaceName, "Test"))
| table Status InterfaceName applicationName Timestamp "Total Elapsed Time" FileList "SuccessFile/FailureFile" Response correlationId&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685611#M233938</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-26T12:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685620#M233939</link>
      <description>&lt;P&gt;Actually i am using multiple values in interfacename.And mvfind is not for interfacename .&lt;/P&gt;&lt;P&gt;| search InterfaceName IN (&lt;BR /&gt;"ABC",&lt;BR /&gt;"ABCD",&lt;BR /&gt;"COP")&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685620#M233939</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-26T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685621#M233940</link>
      <description>&lt;P&gt;I don't understand what is meant by "mvfind is not for interfacename".&amp;nbsp; The &lt;FONT face="courier new,courier"&gt;mvfind&lt;/FONT&gt; function can be used with any multi-value field (InterfaceName is multi-valued since it is created by the &lt;FONT face="courier new,courier"&gt;values&lt;/FONT&gt; function).&lt;/P&gt;&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;mvfind&lt;/FONT&gt; function can be used with multiple values in a regular expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where isnotnull(mvfind(InterfaceName("ABC|ABCD|COP"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685621#M233940</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-26T13:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685622#M233941</link>
      <description>&lt;P&gt;I just want to exclude the message contains "No files found" .If the keywords contains No files found .We dont to want to show the particular transactions.Saerch command which is used in last for the values from dropdown from dashboard values .So i used search interfacename in last.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685622#M233941</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-26T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude particular values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685625#M233944</link>
      <description>&lt;P&gt;The "no file found" message is excluded in the base search.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mulesoft environment=* applicationName IN ("processor","api") message!="No files found for*"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-particular-values/m-p/685625#M233944</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-26T13:51:51Z</dc:date>
    </item>
  </channel>
</rss>

