<?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: Splunk query help - query for URL that have values other than X,Y,Z in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675586#M231144</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264392"&gt;@Splunkanator&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share some sample events and expected output?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jan 2024 06:55:23 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2024-01-27T06:55:23Z</dc:date>
    <item>
      <title>Splunk query help - query for URL that have values other than X,Y,Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675583#M231143</link>
      <description>&lt;P&gt;Lets say i would like to query for message that has a URL field with values other than X,Y,Z added as query parameters , how do i go about this ?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 02:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675583#M231143</guid>
      <dc:creator>Splunkanator</dc:creator>
      <dc:date>2024-01-27T02:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query help - query for URL that have values other than X,Y,Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675586#M231144</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264392"&gt;@Splunkanator&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share some sample events and expected output?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 06:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675586#M231144</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2024-01-27T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query help - query for URL that have values other than X,Y,Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675624#M231151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264392"&gt;@Splunkanator&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;If your events have an extracted uri_query field, which is typical for e.g. NCSA and W3C log formats, you can use != or NOT to exclude events:&lt;/P&gt;&lt;P&gt;index=main sourcetype=access_common uri_query!=*param=X*&amp;nbsp;uri_query!=*param=Y*&amp;nbsp;uri_query!=*param=Z*&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;index=main sourcetype=access_common NOT uri_query IN (*param=X* *param=Y* *param=Z*)&lt;/P&gt;&lt;P&gt;However, those will exclude events with partially matching names or values.&lt;/P&gt;&lt;P&gt;Performance will vary, but you can use the regex command to match events with fields that do no match a regular expression:&lt;/P&gt;&lt;P&gt;index=main sourcetype=access_common&lt;BR /&gt;| regex uri_query!="(^|&amp;amp;)param=(X|Y|Z)(&amp;amp;|$)"&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 01:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-help-query-for-URL-that-have-values-other-than-X-Y/m-p/675624#M231151</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-01-28T01:13:15Z</dc:date>
    </item>
  </channel>
</rss>

