<?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 search for specific words in URL in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240334#M1617</link>
    <description>&lt;P&gt;Thanks a lot.. &lt;/P&gt;

&lt;P&gt;It works, addition to this query. May i get the answer for bytes_in &amp;amp; bytes_out in MB??&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 11:20:39 GMT</pubDate>
    <dc:creator>ADCW7TQ</dc:creator>
    <dc:date>2020-09-29T11:20:39Z</dc:date>
    <item>
      <title>How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240330#M1613</link>
      <description>&lt;P&gt;index=* youtube user | table _time, user, host, src, dest, bytes_in, bytes_out, url&lt;/P&gt;

&lt;P&gt;This is my simple query. I would like to get result for some specific words from the observed youtube URL in results.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;eg:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.youtube.com/pyv_embed?video_id=nMqETeQrgqU&amp;amp;use_player=0&amp;amp;ad_type=watch_related&amp;amp;headline=John+Wick%3A+Chapter+2&amp;amp;image_url=https%3A//i4.ytimg.com/vi/nMqETeQrgqU/hqdefault.jpg&amp;amp;description1=Watch+The+Action-Packed+Trailer+Now&amp;amp;description2=%26+See+Keanu+Reeves+In+Theaters+2/10&amp;amp;format=300x250&amp;amp;rendering_experiments=ssv2" target="_blank"&gt;https://www.youtube.com/pyv_embed?video_id=nMqETeQrgqU&amp;amp;use_player=0&amp;amp;ad_type=watch_related&amp;amp;headline=John+Wick%3A+Chapter+2&amp;amp;image_url=https%3A//i4.ytimg.com/vi/nMqETeQrgqU/hqdefault.jpg&amp;amp;description1=Watch+The+Action-Packed+Trailer+Now&amp;amp;description2=%26+See+Keanu+Reeves+In+Theaters+2/10&amp;amp;format=300x250&amp;amp;rendering_experiments=ssv2&lt;/A&gt; &lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;The above is the "result as per my query. How to do a specific word search in the URL?  Like "movies", "keanu reeves" "trailer"&lt;/P&gt;

&lt;P&gt;Just want to know, what kind of youtube URL the user has accessed.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240330#M1613</guid>
      <dc:creator>ADCW7TQ</dc:creator>
      <dc:date>2020-09-29T11:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240331#M1614</link>
      <description>&lt;P&gt;You can utilize the match function of where clause to search for specific keywords&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* youtube user | table _time, user, host, src, dest, bytes_in, bytes_out, url | where match(url,"keenu") OR match(url,"movie") OR...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR use the regular Splunk search filter like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* youtube user (url=*keenu* OR url=*movie* OR...) | table _time, user, host, src, dest, bytes_in, bytes_out, url
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Oct 2016 17:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240331#M1614</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-09T17:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240332#M1615</link>
      <description>&lt;P&gt;If you want to know what the URLs contain you could also extract what the descriptions say using regex. Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* youtube user | rex field=_raw "&amp;amp;description1=(?&amp;lt;desc1&amp;gt;.*),&amp;amp;" | table _time, user, host, src, dest, bytes_in, bytes_out, url, desc1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Oct 2016 22:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240332#M1615</guid>
      <dc:creator>felipecerda</dc:creator>
      <dc:date>2016-10-09T22:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240333#M1616</link>
      <description>&lt;P&gt;Thanks!!! &lt;/P&gt;

&lt;P&gt;However, i am getting the same result as before. But the 'desc1' column came blank in the result. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 08:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240333#M1616</guid>
      <dc:creator>ADCW7TQ</dc:creator>
      <dc:date>2016-10-10T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240334#M1617</link>
      <description>&lt;P&gt;Thanks a lot.. &lt;/P&gt;

&lt;P&gt;It works, addition to this query. May i get the answer for bytes_in &amp;amp; bytes_out in MB??&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240334#M1617</guid>
      <dc:creator>ADCW7TQ</dc:creator>
      <dc:date>2020-09-29T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for specific words in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240335#M1618</link>
      <description>&lt;P&gt;Well, May i know how to use this regex query? As it as or i need to replace any words in the description part.&lt;/P&gt;

&lt;P&gt;rex field=_raw "&amp;amp;description1=(?.*),&amp;amp;" &lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 07:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-search-for-specific-words-in-URL/m-p/240335#M1618</guid>
      <dc:creator>ADCW7TQ</dc:creator>
      <dc:date>2016-10-11T07:13:33Z</dc:date>
    </item>
  </channel>
</rss>

