<?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 extract key value pairs where each value has non-standard &amp;quot;quoters&amp;quot; (ex: foo='bar', dog='cat')? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192699#M55418</link>
    <description>&lt;P&gt;The SEDCMD looks like it'll work just great for what i need.  Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2015 21:09:21 GMT</pubDate>
    <dc:creator>ccollord</dc:creator>
    <dc:date>2015-03-23T21:09:21Z</dc:date>
    <item>
      <title>How to extract key value pairs where each value has non-standard "quoters" (ex: foo='bar', dog='cat')?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192697#M55416</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
To make a long story short i have some logs that are key value pairs, like so:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;foo="bar" dog="cat" frog="bat"&lt;/CODE&gt;&lt;BR /&gt;
Unfortunately my Windows logging daemon converts to this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[hostname] data="foo='bar' dog='cat' frog='bat'"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Splunk is actually handling the extractions just fine, except that each value pair is:&lt;BR /&gt;
&lt;CODE&gt;'bar', 'cat', 'bat'&lt;/CODE&gt;&lt;BR /&gt;
(They have the included single-tick in the value.)  Is there an easy way to fix this?  From Splunk documentation and a blog post from 2008 i've gathered that the quotation marks around the values are called "quoters" and they are not configurable to be different characters like an apostrophe[1].  What else can i do?&lt;/P&gt;

&lt;P&gt;[1] &lt;A href="http://blogs.splunk.com/2008/02/12/delimiter-based-key-value-pair-extraction/"&gt;http://blogs.splunk.com/2008/02/12/delimiter-based-key-value-pair-extraction/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 20:28:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192697#M55416</guid>
      <dc:creator>ccollord</dc:creator>
      <dc:date>2015-03-23T20:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract key value pairs where each value has non-standard "quoters" (ex: foo='bar', dog='cat')?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192698#M55417</link>
      <description>&lt;P&gt;Option 1: use SEDCMD in props.conf on Indexer to format your logs (your can update &lt;CODE&gt;[hostname] data="foo='bar' dog='cat'"&lt;/CODE&gt; to &lt;CODE&gt;[hostname] foo="bar" dog="cat" frog="bat"&lt;/CODE&gt;)&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Option 2: use search time field extraction to cleanup the values. This can be done per field (field extraction) OR for all fields (field transformation)&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 20:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192698#M55417</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-03-23T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract key value pairs where each value has non-standard "quoters" (ex: foo='bar', dog='cat')?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192699#M55418</link>
      <description>&lt;P&gt;The SEDCMD looks like it'll work just great for what i need.  Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 21:09:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-key-value-pairs-where-each-value-has-non-standard/m-p/192699#M55418</guid>
      <dc:creator>ccollord</dc:creator>
      <dc:date>2015-03-23T21:09:21Z</dc:date>
    </item>
  </channel>
</rss>

