<?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: Quote delimited fields containing spaces in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Quote-delimited-fields-containing-spaces/m-p/120923#M25118</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\"(?&amp;lt;useragent&amp;gt;.*)\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Oct 2013 21:24:44 GMT</pubDate>
    <dc:creator>jtrucks</dc:creator>
    <dc:date>2013-10-29T21:24:44Z</dc:date>
    <item>
      <title>Quote delimited fields containing spaces</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quote-delimited-fields-containing-spaces/m-p/120922#M25117</link>
      <description>&lt;P&gt;In the past our iis logs were space delimited with the user agent field using the plus sign as an internal delimiter, such as &lt;/P&gt;

&lt;P&gt;KRFU+(VER+5.0/5.0.2.v20130730-3038;+Win7+6.1;+52.4/2215/-1;Server+Atlanta;00222003D1C5;3238LB934)&lt;/P&gt;

&lt;P&gt;But with the change in the log file format the user agent field now looks like this&lt;/P&gt;

&lt;P&gt;"KRFU (VER 5.0/5.0.2.v20130920-3090; WinServer 2008 R2 6.1; 18.6/62/-1;Server Atlanta Metro;005056AA6ED5;sta001)"&lt;/P&gt;

&lt;P&gt;"KRFU (VER 5.0/5.0.2.v20130920-3090; WinServer 2008 R2 6.1; 15.8/0/-1;New York All-Purpose Server;005056A4000B;ws120)"&lt;/P&gt;

&lt;P&gt;One server is named "Server Atlanta Metro" which contains 3 spaces. The other server is named "New York All-Purpose Server" which contains 4 spaces. Sometimes the server will have only one name with no spaces. This causes problems with space delimited fields.&lt;/P&gt;

&lt;P&gt;So how do I tell Splunk to consume everything between the quotes as one field?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:28:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quote-delimited-fields-containing-spaces/m-p/120922#M25117</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2013-10-29T20:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Quote delimited fields containing spaces</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Quote-delimited-fields-containing-spaces/m-p/120923#M25118</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\"(?&amp;lt;useragent&amp;gt;.*)\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Oct 2013 21:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Quote-delimited-fields-containing-spaces/m-p/120923#M25118</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2013-10-29T21:24:44Z</dc:date>
    </item>
  </channel>
</rss>

