<?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 remove words and characters from a multivalued filed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575637#M200585</link>
    <description>&lt;P&gt;Try &lt;FONT face="courier new,courier"&gt;mvmap&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;replace&lt;/FONT&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval OS="Windows-2016
Windows-2010" 
| eval OS=mvmap(OS,replace(OS,"Windows-",""))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 13:44:27 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-11-19T13:44:27Z</dc:date>
    <item>
      <title>How to remove words and characters from a multivalued filed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575593#M200573</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I remove words and characters from a multivalued field without using REX?&lt;BR /&gt;&lt;BR /&gt;I have a filed named OS&lt;BR /&gt;&lt;BR /&gt;OS:&lt;BR /&gt;Windows-2016&lt;BR /&gt;Windows-2010&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can I take out everything that comes in before the hyphen and just end up with the below?&lt;BR /&gt;&lt;BR /&gt;OS:&lt;BR /&gt;2016&lt;BR /&gt;2010&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575593#M200573</guid>
      <dc:creator>MeMilo09</dc:creator>
      <dc:date>2021-11-19T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove words and characters from a multivalued filed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575637#M200585</link>
      <description>&lt;P&gt;Try &lt;FONT face="courier new,courier"&gt;mvmap&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;replace&lt;/FONT&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval OS="Windows-2016
Windows-2010" 
| eval OS=mvmap(OS,replace(OS,"Windows-",""))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575637#M200585</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-19T13:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove words and characters from a multivalued filed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575658#M200586</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;Your example doesn't create a mv-field but your solution works when the field is mv.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval OS=split("Windows-2016
Windows-2010" ,"
")
| eval OS=mvmap(OS,replace(OS,"Windows-",""))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575658#M200586</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-19T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove words and characters from a multivalued filed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575939#M200710</link>
      <description>&lt;P&gt;Pretty close, just used mvindex instead. Thanks&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| eval OS_Name=split(OSName,"-"), Env=mvindex(OS_Name, 1)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 22:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-words-and-characters-from-a-multivalued-filed/m-p/575939#M200710</guid>
      <dc:creator>MeMilo09</dc:creator>
      <dc:date>2021-11-22T22:06:13Z</dc:date>
    </item>
  </channel>
</rss>

