<?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: Ironport WSA &amp;quot;Top Google Search Terms&amp;quot; query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16005#M2069</link>
    <description>&lt;P&gt;Your question is confusing as there is no sample data to reference.  Also, your use of parse is confusing.  My guess is that you want to produce an extracted field for query terms within google and bing URLs.  Please update your question with more details.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2010 23:13:01 GMT</pubDate>
    <dc:creator>Simeon</dc:creator>
    <dc:date>2010-06-23T23:13:01Z</dc:date>
    <item>
      <title>Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16004#M2068</link>
      <description>&lt;P&gt;I am trying to come up with a search that would parse Google search queries made though my Ironport web proxy. I would like to add this as a real time report on a dashboard eventually.  Does anyone have any tips for a regex that could parse the a Google search request URL and display on the words in the search?  Bing results would be great too.   &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 19:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16004#M2068</guid>
      <dc:creator>imarks001</dc:creator>
      <dc:date>2010-06-23T19:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16005#M2069</link>
      <description>&lt;P&gt;Your question is confusing as there is no sample data to reference.  Also, your use of parse is confusing.  My guess is that you want to produce an extracted field for query terms within google and bing URLs.  Please update your question with more details.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 23:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16005#M2069</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-06-23T23:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16006#M2070</link>
      <description>&lt;P&gt;Sorry for the confusion.  I would be looking to parse the actual search query out of our WSA logs.  For instance, I would want to pull "world cup winners" out of the following log entry and be able to report on top searches.  &lt;/P&gt;

&lt;P&gt;1277318549.935 295 192.168.150.6 TCP_MISS/200 9957 GET &lt;A href="http://www.google.com/search?hl=en&amp;amp;source=hp&amp;amp;q=world+cup+winners&amp;amp;aq=3s&amp;amp;aqi=g-s10&amp;amp;aql=&amp;amp;oq=word+cup+&amp;amp;gs_rfai=Cqt3eklUiTPiZO4XyzASIzfSXBgAAAKoEBU_Q0UPQ&amp;amp;fp=d2eda4910a7445ea" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;source=hp&amp;amp;q=world+cup+winners&amp;amp;aq=3s&amp;amp;aqi=g-s10&amp;amp;aql=&amp;amp;oq=word+cup+&amp;amp;gs_rfai=Cqt3eklUiTPiZO4XyzASIzfSXBgAAAKoEBU_Q0UPQ&amp;amp;fp=d2eda4910a7445ea&lt;/A&gt; - DIRECT/&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt; text/html DEFAULT_CASE-NoAuthPolicy-NoAuthGlobal-NONE-NONE-DefaultRouting &lt;SEAR&gt;&lt;/SEAR&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16006#M2070</guid>
      <dc:creator>imarks001</dc:creator>
      <dc:date>2020-09-28T09:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16007#M2071</link>
      <description>&lt;P&gt;The URL is getting truncated when I post it.&lt;BR /&gt;&lt;BR /&gt;
Here is everything after google.com&lt;BR /&gt;&lt;BR /&gt;
search?hl=en&amp;amp;source=hp&amp;amp;q=world+cup+winners&amp;amp;aq=3s&amp;amp;aqi=g-s10&amp;amp;aql=&amp;amp;oq=word+cup+&amp;amp;gs_rfai=Cqt3eklUiTPiZO4XyzASIzfSXBgAAAKoEBU_Q0UPQ&amp;amp;fp=d2eda4910a7445ea&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16007#M2071</guid>
      <dc:creator>imarks001</dc:creator>
      <dc:date>2020-09-28T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16008#M2072</link>
      <description>&lt;P&gt;Assuming you have the WSA app installed that extrapolates the cs_url field, try the following:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;
"www.google.com/search" "q=" | rex field=cs_url "q=(?P&amp;lt;search&amp;gt;[^&amp;amp;]*)\&amp;amp;" | rex field=search mode=sed "s/\+/ /g" | top search
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2010 22:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16008#M2072</guid>
      <dc:creator>tidavids</dc:creator>
      <dc:date>2010-07-03T22:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16009#M2073</link>
      <description>&lt;P&gt;Thanks, I tried this but I receive the following error.     1. Error in 'rex' command: Encountered the following error while compiling the regex 'q=(?P[^&amp;amp;]*)&amp;amp;': Regex: unrecognized character after (?P&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2010 08:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16009#M2073</guid>
      <dc:creator>imarks001</dc:creator>
      <dc:date>2010-07-09T08:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16010#M2074</link>
      <description>&lt;P&gt;If someone's stumbling upon this, I've made a simple field extration regex which does the job by filtering out all text between ampersands (&amp;amp;) where "q=" is showing up.&lt;/P&gt;

&lt;P&gt;Just go to "Manager" - "Field extractions" - Click "New" and enter the line below in the field "Extraction/Transform" after choosing your app &amp;amp; source/sourcetype/host:&lt;BR /&gt;
(?i)&amp;amp;q=(?P&amp;lt;_google_query&amp;gt;\w+[^&amp;amp;]*)&amp;amp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Phil&lt;/P&gt;

&lt;P&gt;PS: Maybe someone will cure the bug of not beeing able to post "&amp;lt;&lt;EM&gt;thisisnotag!!!&lt;/EM&gt;&amp;gt;" as it's regarded as html-tag &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16010#M2074</guid>
      <dc:creator>pschulz</dc:creator>
      <dc:date>2020-09-28T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ironport WSA "Top Google Search Terms" query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16011#M2075</link>
      <description>&lt;P&gt;Digging up an old threat, but this just came in handy. The sed I had to use in 6.2 was as follows:&lt;BR /&gt;
rex field=search mode=sed "s/+/ /g"&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 18:40:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Ironport-WSA-quot-Top-Google-Search-Terms-quot-query/m-p/16011#M2075</guid>
      <dc:creator>nkpiquette</dc:creator>
      <dc:date>2015-01-07T18:40:45Z</dc:date>
    </item>
  </channel>
</rss>

