<?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: Replace '&amp;' with ',' in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131325#M35811</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;Hi 
Try this request :
      enter something here |field = {call DB2GIPS.GIP_IP_SMRY_BROWSE(?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?)},4,145.20738080143929,65.47478818893433,360.34633181989193,580.8295232057571,,2.2596316800361542E-4,,0.0 | replace "(?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?) "  with "(?, ?, ?, ?, ?, ?)" in field
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Feb 2015 11:08:56 GMT</pubDate>
    <dc:creator>chimell</dc:creator>
    <dc:date>2015-02-09T11:08:56Z</dc:date>
    <item>
      <title>Replace '&amp;' with ','</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131322#M35808</link>
      <description>&lt;P&gt;I want to replace the character '&amp;amp;' with the character ',' in the below field.&lt;/P&gt;

&lt;P&gt;field = {call DB2GIPS.GIP_IP_SMRY_BROWSE(?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?)},4,145.20738080143929,65.47478818893433,360.34633181989193,580.8295232057571,,2.2596316800361542E-4,,0.0  &lt;/P&gt;

&lt;P&gt;so that the result should be &lt;/P&gt;

&lt;P&gt;field =  {call DB2GIPS.GIP_IP_SMRY_BROWSE(?, ?, ?, ?, ?, ?)},4,145.20738080143929,65.47478818893433,360.34633181989193,580.8295232057571,,2.2596316800361542E-4,,0.0&lt;/P&gt;

&lt;P&gt;How can that be done in splunk?Please advice.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:51:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131322#M35808</guid>
      <dc:creator>Jananee_iNautix</dc:creator>
      <dc:date>2020-09-28T18:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replace '&amp;' with ','</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131323#M35809</link>
      <description>&lt;P&gt;Easily:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex mode=sed "s/&amp;amp;/,/g"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does that work for you?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131323#M35809</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2015-02-05T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Replace '&amp;' with ','</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131324#M35810</link>
      <description>&lt;P&gt;you also should specify the field name you want to rex or it might mangle up the rest of the raw data as well..&lt;BR /&gt;
so &lt;CODE&gt;rex field=myfieldname mode=sed "s/&amp;amp;/,/g"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 00:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131324#M35810</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-06T00:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace '&amp;' with ','</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131325#M35811</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;Hi 
Try this request :
      enter something here |field = {call DB2GIPS.GIP_IP_SMRY_BROWSE(?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?)},4,145.20738080143929,65.47478818893433,360.34633181989193,580.8295232057571,,2.2596316800361542E-4,,0.0 | replace "(?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?&amp;amp; ?) "  with "(?, ?, ?, ?, ?, ?)" in field
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replace-with/m-p/131325#M35811</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2015-02-09T11:08:56Z</dc:date>
    </item>
  </channel>
</rss>

