<?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 Modify Fields in Splunk search app in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Modify-Fields-in-Splunk-search-app/m-p/102737#M26552</link>
    <description>&lt;P&gt;For the search app, I want to modify a field called "partner" (new field added when data is sent to Splunk in receivers endpoint) with a value of "Yan Yi" and replace the "partner" field value to &lt;BR /&gt;
"muktar".&lt;/P&gt;

&lt;P&gt;I put in this search command in the search app,&lt;BR /&gt;
sourcetype = " sexuality" | replace Yan Yi with  muktar in partner &lt;/P&gt;

&lt;P&gt;The search app threw an error : &lt;BR /&gt;
[EventsViewer module] Error in 'replace' command : Usage replace[orig_str WITH new_str] + [IN field1,field2,..]&lt;/P&gt;

&lt;P&gt;What is the issue with this? Is there any way i could correact the syntax of the search command??&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:35:00 GMT</pubDate>
    <dc:creator>misteryuku</dc:creator>
    <dc:date>2020-09-28T11:35:00Z</dc:date>
    <item>
      <title>Modify Fields in Splunk search app</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modify-Fields-in-Splunk-search-app/m-p/102737#M26552</link>
      <description>&lt;P&gt;For the search app, I want to modify a field called "partner" (new field added when data is sent to Splunk in receivers endpoint) with a value of "Yan Yi" and replace the "partner" field value to &lt;BR /&gt;
"muktar".&lt;/P&gt;

&lt;P&gt;I put in this search command in the search app,&lt;BR /&gt;
sourcetype = " sexuality" | replace Yan Yi with  muktar in partner &lt;/P&gt;

&lt;P&gt;The search app threw an error : &lt;BR /&gt;
[EventsViewer module] Error in 'replace' command : Usage replace[orig_str WITH new_str] + [IN field1,field2,..]&lt;/P&gt;

&lt;P&gt;What is the issue with this? Is there any way i could correact the syntax of the search command??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modify-Fields-in-Splunk-search-app/m-p/102737#M26552</guid>
      <dc:creator>misteryuku</dc:creator>
      <dc:date>2020-09-28T11:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Fields in Splunk search app</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modify-Fields-in-Splunk-search-app/m-p/102738#M26553</link>
      <description>&lt;P&gt;You need to enclose "Yan Yi" in quotes.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 04:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modify-Fields-in-Splunk-search-app/m-p/102738#M26553</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-28T04:50:07Z</dc:date>
    </item>
  </channel>
</rss>

