<?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 Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225433#M24902</link>
    <description>&lt;P&gt;Version 3.4.0 doesn't have this issue, what version was being used?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2015 22:19:42 GMT</pubDate>
    <dc:creator>jcoates_splunk</dc:creator>
    <dc:date>2015-09-25T22:19:42Z</dc:date>
    <item>
      <title>Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225426#M24895</link>
      <description>&lt;P&gt;Having an issue with the field extractions on this one.  Hopefully I can explain and someone can help.&lt;/P&gt;

&lt;P&gt;There seems to be a problem with the extraction of the &lt;STRONG&gt;http_user_agent&lt;/STRONG&gt; extraction.  The regex provided in the add-on is expecting the user agent to be enclosed in quotes &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+\"(?&amp;lt;http_user_agent&amp;gt;[^\"]+)\"\s+  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but our logs have instances where a user agent is not present and only a dash is included, causing the field extraction to fail for these events.  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225426#M24895</guid>
      <dc:creator>billebel</dc:creator>
      <dc:date>2020-09-29T07:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225427#M24896</link>
      <description>&lt;P&gt;can you provide an example of a log event that includes a user agent and one that does not. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 22:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225427#M24896</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-09-15T22:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225428#M24897</link>
      <description>&lt;P&gt;Here is a sample of the two different events.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Without user agent&lt;/STRONG&gt;&lt;BR /&gt;
2015-09-16 14:35:34 1 10.1.1.1 - - - PROXIED "Financial Services" -  0 - GET - http host.domain.com 8080 /accelerated_pac_base.pac - pac - 10.1.1.1 0 109 - "none" "none" - 10.1.1.2 - - - -&lt;/P&gt;

&lt;P&gt;With user agent&lt;BR /&gt;
2015-09-16 14:27:56 2 1.1.1.1 someuser - content_filter_denied DENIED "Black_List_Social_Networking;Client_Facebook;Social Networking;Content Servers" 403 TCP_DENIED GET - https s-static.ak.facebook.com 443 js "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" 10.54.74.201 4815 467 - none - - none *.ak.fbcdn.net "Social Networking" 23.60.114.110 ?version=41 ?version=41 ?version=41 player.performgroup.com&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225428#M24897</guid>
      <dc:creator>billebel</dc:creator>
      <dc:date>2020-09-29T07:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225429#M24898</link>
      <description>&lt;P&gt;in this example is "someuser" the http_user_agent you are looking to extract? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225429#M24898</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2020-09-29T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225430#M24899</link>
      <description>&lt;P&gt;No, the with user agent example works fine, but in the example below the hyphen between pac and 10.1.1.1, which is the user agent, doesn't extract.&lt;/P&gt;

&lt;P&gt;2015-09-16 14:35:34 1 10.1.1.1 - - - PROXIED "Financial Services" - 0 - GET - http host.domain.com 8080 /accelerated_pac_base.pac - pac &lt;STRONG&gt;-&lt;/STRONG&gt; 10.1.1.1 0 109 - "none" "none" - 10.1.1.2 - - - -&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225430#M24899</guid>
      <dc:creator>billebel</dc:creator>
      <dc:date>2020-09-29T07:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225431#M24900</link>
      <description>&lt;P&gt;OK this seems to extract both cases.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/657i519B9638150C4402/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 18:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225431#M24900</guid>
      <dc:creator>billebel</dc:creator>
      <dc:date>2015-09-17T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225432#M24901</link>
      <description>&lt;P&gt;thanks, filed a bug for this thread&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2015 16:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225432#M24901</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-09-19T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Blue Coat ProxySG: How to handle failed extraction of http_user_agent where a user agent value is not included?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225433#M24902</link>
      <description>&lt;P&gt;Version 3.4.0 doesn't have this issue, what version was being used?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 22:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Blue-Coat-ProxySG-How-to-handle-failed/m-p/225433#M24902</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-09-25T22:19:42Z</dc:date>
    </item>
  </channel>
</rss>

