<?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 avoid auto extraction in quotes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164466#M46699</link>
    <description>&lt;P&gt;I know this is old, but I figured out a workaround for this. If you have control over the inputs, change it to be like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;msg="some string here method~aaaa" method=bbbb&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;And then in your search, change it back, e.g.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval msg = replace(msg, "~", "\"")&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 14:40:07 GMT</pubDate>
    <dc:creator>jacobpevans</dc:creator>
    <dc:date>2019-09-04T14:40:07Z</dc:date>
    <item>
      <title>how to avoid auto extraction in quotes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164463#M46696</link>
      <description>&lt;P&gt;I have logs like &lt;BR /&gt;
msg="some string here method=aaaa"  method=bbbb&lt;BR /&gt;
splunk may extract method=aaaa out of the quoted string, how can I avoid this?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2015 03:44:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164463#M46696</guid>
      <dc:creator>yasein</dc:creator>
      <dc:date>2015-08-09T03:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto extraction in quotes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164464#M46697</link>
      <description>&lt;P&gt;So far as I.know, you cannot.  Your only option is to set &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; and then do the field extractions yourself and build them explicitly so each does the corrrect thing in context.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2015 13:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164464#M46697</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-09T13:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto extraction in quotes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164465#M46698</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;
THe none KV_MODE solved my problem&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;KV_MODE = none
REPORT-field_extract                            = field_extract
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[field_extract]
DELIMS = " ", "="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Aug 2015 00:17:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164465#M46698</guid>
      <dc:creator>yasein</dc:creator>
      <dc:date>2015-08-11T00:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid auto extraction in quotes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164466#M46699</link>
      <description>&lt;P&gt;I know this is old, but I figured out a workaround for this. If you have control over the inputs, change it to be like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;msg="some string here method~aaaa" method=bbbb&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;And then in your search, change it back, e.g.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval msg = replace(msg, "~", "\"")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 14:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-avoid-auto-extraction-in-quotes/m-p/164466#M46699</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-09-04T14:40:07Z</dc:date>
    </item>
  </channel>
</rss>

