<?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 Replace field at index time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Replace-field-at-index-time/m-p/373442#M67690</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to replace the "action" field so it conforms with the CIM datamodel.&lt;BR /&gt;
action at present will alway equal either "Successful" or "error".&lt;BR /&gt;
I would like to replace "Successful" to "success" and "error" to "failure".&lt;/P&gt;

&lt;P&gt;For example&lt;BR /&gt;
Current fields&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action=Successful
action=error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After field replacement&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action=success
action=failure
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 08:53:25 GMT</pubDate>
    <dc:creator>dsofoulis</dc:creator>
    <dc:date>2017-05-11T08:53:25Z</dc:date>
    <item>
      <title>Replace field at index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-field-at-index-time/m-p/373442#M67690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to replace the "action" field so it conforms with the CIM datamodel.&lt;BR /&gt;
action at present will alway equal either "Successful" or "error".&lt;BR /&gt;
I would like to replace "Successful" to "success" and "error" to "failure".&lt;/P&gt;

&lt;P&gt;For example&lt;BR /&gt;
Current fields&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action=Successful
action=error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After field replacement&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action=success
action=failure
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 08:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-field-at-index-time/m-p/373442#M67690</guid>
      <dc:creator>dsofoulis</dc:creator>
      <dc:date>2017-05-11T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replace field at index time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Replace-field-at-index-time/m-p/373443#M67691</link>
      <description>&lt;P&gt;You might explore creating a field alias for those fields under settings &amp;gt; fields &amp;gt; field alias&lt;/P&gt;

&lt;P&gt;Splunk references field aliases as a first step under "Make your fields CIM-compliant" in the Common Information Model Add-on Manual. There are step by step instructions for various tasks: &lt;A href="http://docs.splunk.com/Documentation/CIM/4.8.0/User/UsetheCIMtonormalizedataatsearchtime"&gt;http://docs.splunk.com/Documentation/CIM/4.8.0/User/UsetheCIMtonormalizedataatsearchtime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, search time field extractions are recommended over index time:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html"&gt;https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/2535/search-time-vs-index-time-field-extraction.html"&gt;https://answers.splunk.com/answers/2535/search-time-vs-index-time-field-extraction.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 09:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Replace-field-at-index-time/m-p/373443#M67691</guid>
      <dc:creator>adayton20</dc:creator>
      <dc:date>2017-05-11T09:56:09Z</dc:date>
    </item>
  </channel>
</rss>

