<?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 use replace in search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323387#M96526</link>
    <description>&lt;P&gt;Use the &lt;CODE&gt;replace&lt;/CODE&gt; function like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval event_ID=replace(event_id,"@","%40") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 05 Sep 2017 17:33:30 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2017-09-05T17:33:30Z</dc:date>
    <item>
      <title>How to use replace in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323386#M96525</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;How to replace a character in a field value with another character? I have below field value, I have to replace @ with %40.&lt;/P&gt;

&lt;P&gt;event_id:&lt;BR /&gt;
32323ff-343443fg-43344g-34344-343434fdef@@notable@@33434fdf-3434gfgfg-ere343&lt;/P&gt;

&lt;P&gt;I'm trying to get this&lt;/P&gt;

&lt;P&gt;32323ff-343443fg-43344g-34344-343434fdef%40%40notable5%40%4033434fdf-3434gfgfg-ere343&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323386#M96525</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2017-09-05T16:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use replace in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323387#M96526</link>
      <description>&lt;P&gt;Use the &lt;CODE&gt;replace&lt;/CODE&gt; function like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval event_ID=replace(event_id,"@","%40") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Sep 2017 17:33:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323387#M96526</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-09-05T17:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use replace in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323388#M96527</link>
      <description>&lt;P&gt;Unrelated to this query, but for special characters like period (.) use the escape character -"\".&lt;BR /&gt;
Like - &lt;CODE&gt;... | eval name = replace("lastname.firstname","\.",",") | ...&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 13:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-replace-in-search/m-p/323388#M96527</guid>
      <dc:creator>Dawson014</dc:creator>
      <dc:date>2018-05-30T13:13:17Z</dc:date>
    </item>
  </channel>
</rss>

