<?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: Is it possible to update _raw with a replaced field easily? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353153#M104532</link>
    <description>&lt;P&gt;Any updates to the (search-time) extracted fields values would not update the _raw value. Those extracted fields are available independent of _raw. You would have to do the similar updates in _raw field explicitly for it to show updated field values. Please note that since, your _raw data can/will have other stuffs that might get updated un-wantedly, you will have to careful in defining the replace arguments.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 20:21:34 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-04-23T20:21:34Z</dc:date>
    <item>
      <title>Is it possible to update _raw with a replaced field easily?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353151#M104530</link>
      <description>&lt;P&gt;When I use &lt;CODE&gt;replace&lt;/CODE&gt; to update a field, it is updated properly (in the interesting fields sidebar) but my search displays the _raw event with the original value.  Ex.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search | replace "ABC" WITH "XYZ*" IN myfield
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can use &lt;CODE&gt;table&lt;/CODE&gt;  but there are parts of the event that are not extracted which I'd like to see.  How can I update _raw with the new value of myfield?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 19:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353151#M104530</guid>
      <dc:creator>axelabs</dc:creator>
      <dc:date>2018-04-23T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to update _raw with a replaced field easily?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353152#M104531</link>
      <description>&lt;P&gt;Let's start with your actual end goal. It's possible to use SPL to "replace" the content of _raw, but if you are then going to route the results through a &lt;CODE&gt;table&lt;/CODE&gt; command, there are definitely better ways to get to wherever you're going. Most likely, the best path will involve using a &lt;CODE&gt;rex&lt;/CODE&gt; command to extract whatever data isn't currently being extracted, modifying it as needed, and then routing it into a table. Want to expand on the nature of your search and end goal?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353152#M104531</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-23T20:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to update _raw with a replaced field easily?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353153#M104532</link>
      <description>&lt;P&gt;Any updates to the (search-time) extracted fields values would not update the _raw value. Those extracted fields are available independent of _raw. You would have to do the similar updates in _raw field explicitly for it to show updated field values. Please note that since, your _raw data can/will have other stuffs that might get updated un-wantedly, you will have to careful in defining the replace arguments.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353153#M104532</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-23T20:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to update _raw with a replaced field easily?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353154#M104533</link>
      <description>&lt;P&gt;I'm avoiding the use of &lt;STRONG&gt;table&lt;/STRONG&gt; as I'd have to build a bunch of extractions to show everything that _raw shows.  One of my few extracted fields is sensitive and I do not want it showing in screenshots.  It would be a nice feature to be able to do the above and just &lt;EM&gt;| rebuild(_raw)&lt;/EM&gt; somehow.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-update-raw-with-a-replaced-field-easily/m-p/353154#M104533</guid>
      <dc:creator>axelabs</dc:creator>
      <dc:date>2020-09-29T19:10:33Z</dc:date>
    </item>
  </channel>
</rss>

