<?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 Change Fix Field Value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280466#M190520</link>
    <description>&lt;P&gt;Instead of using automatic field extraction, you will probably need to specify the fields. You can do this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
REPORT-fe=extract_fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[extract_fields]
FORMAT = $1::$2
REGEX = (\w+)\s*\=.*?\|\s*'(.*?)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may need to add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;KV_MODE = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to props.conf, but it would be better if you didn't need it.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2016 18:06:46 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2016-02-12T18:06:46Z</dc:date>
    <item>
      <title>How To Change Fix Field Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280464#M190518</link>
      <description>&lt;P&gt;We are pulling in mysql_query events from a freeradius server however one of the field values has an or "|" in it, so Splunk is ignoring the correct next value. Here is the log entry:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;acctinputoctets = '0'         &amp;lt;&amp;lt; 32 |                                        '442929',                       acctoutputoctets =               '0' &amp;lt;&amp;lt;      32        | '7920416'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk is pulling only the '0' for the values. We need it to ignore the: &lt;STRONG&gt;'0' &amp;lt;&amp;lt; 32 |&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;How do we update the field values so that the correct value is indexed?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 17:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280464#M190518</guid>
      <dc:creator>dbray_sd</dc:creator>
      <dc:date>2016-02-12T17:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How To Change Fix Field Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280465#M190519</link>
      <description>&lt;P&gt;How are you ingesting data? using DB Connect OR file monitoring?? Looks like you got some prefix with field value, which you can correct before indexing (for new events only) OR use Field extraction to ignore in the field value.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 17:54:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280465#M190519</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-12T17:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How To Change Fix Field Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280466#M190520</link>
      <description>&lt;P&gt;Instead of using automatic field extraction, you will probably need to specify the fields. You can do this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
REPORT-fe=extract_fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[extract_fields]
FORMAT = $1::$2
REGEX = (\w+)\s*\=.*?\|\s*'(.*?)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may need to add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;KV_MODE = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to props.conf, but it would be better if you didn't need it.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 18:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280466#M190520</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-02-12T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How To Change Fix Field Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280467#M190521</link>
      <description>&lt;P&gt;We are using the Splunk Universal Forwarder to pull in /var/log/mysql/mysql_query.log&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:39:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-Change-Fix-Field-Value/m-p/280467#M190521</guid>
      <dc:creator>dbray_sd</dc:creator>
      <dc:date>2016-02-15T17:39:49Z</dc:date>
    </item>
  </channel>
</rss>

