<?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: Remove fixed string from multivalue field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-fixed-string-from-multivalue-field/m-p/167525#M47701</link>
    <description>&lt;P&gt;You need the &lt;CODE&gt;replace&lt;/CODE&gt; command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| replace "Multiple - *" with "*" in alert
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Jun 2015 13:36:36 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-19T13:36:36Z</dc:date>
    <item>
      <title>Remove fixed string from multivalue field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-fixed-string-from-multivalue-field/m-p/167524#M47700</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a field &lt;EM&gt;alert&lt;/EM&gt; which contains the following events:&lt;BR /&gt;
“Failed Logon”&lt;BR /&gt;
“Dropped Database”&lt;/P&gt;

&lt;P&gt;However, sometimes the source application adds the string “&lt;EM&gt;Multiple -&lt;/EM&gt; “ before it. Hence when running &lt;EM&gt;stats&lt;/EM&gt; I end up with results like:&lt;BR /&gt;
“Failed Logon”      9&lt;BR /&gt;
“&lt;STRONG&gt;Multiple -&lt;/STRONG&gt; Failed Logon”   1&lt;/P&gt;

&lt;P&gt;“Dropped Database”  2&lt;BR /&gt;
“&lt;STRONG&gt;Multiple -&lt;/STRONG&gt; Dropped Database”   3&lt;/P&gt;

&lt;P&gt;I am looking for way to remove the string “&lt;EM&gt;Multiple -&lt;/EM&gt; ” from the event field. The results should look like&lt;BR /&gt;
“Failed Logon”      10&lt;BR /&gt;
“Dropped Database”  5&lt;/P&gt;

&lt;P&gt;Appreciate your help!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 13:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-fixed-string-from-multivalue-field/m-p/167524#M47700</guid>
      <dc:creator>shakermaker</dc:creator>
      <dc:date>2015-06-19T13:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove fixed string from multivalue field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-fixed-string-from-multivalue-field/m-p/167525#M47701</link>
      <description>&lt;P&gt;You need the &lt;CODE&gt;replace&lt;/CODE&gt; command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| replace "Multiple - *" with "*" in alert
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Jun 2015 13:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-fixed-string-from-multivalue-field/m-p/167525#M47701</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-19T13:36:36Z</dc:date>
    </item>
  </channel>
</rss>

