<?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 match string in multi value field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492958#M137493</link>
    <description>&lt;P&gt;The second argument to &lt;CODE&gt;mvfind&lt;/CODE&gt; (and &lt;CODE&gt;match&lt;/CODE&gt;) must be a valid regular expression. &lt;CODE&gt;*&lt;/CODE&gt; is not valid, but &lt;CODE&gt;.*&lt;/CODE&gt; is.  Try that.&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2020 11:34:25 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-05-11T11:34:25Z</dc:date>
    <item>
      <title>How to match string in multi value field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492955#M137490</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;I have a filed called names as shown below, if i search with first line of strings then search returning the complete filed event but not second and third line of filed strings. I used &lt;STRONG&gt;| eval names= mvfilter(names="32")&lt;/STRONG&gt; and also &lt;STRONG&gt;| eval names= mvfilter(match("&lt;EM&gt;32&lt;/EM&gt;", names))&lt;/STRONG&gt; but not worked for me. Please help me on this, Thanks in advance.&lt;/P&gt;
&lt;P&gt;names&lt;BR /&gt;1121 - sample name&lt;BR /&gt;3247 - sample names&lt;BR /&gt;9876 - simple name&lt;/P&gt;
&lt;P&gt;required out put: if I search with names=1121* or names=3247* or names=9876* then complete event has to be returned.i,e as i shown above.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 14:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492955#M137490</guid>
      <dc:creator>james_n</dc:creator>
      <dc:date>2022-07-01T14:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to match string in multi value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492956#M137491</link>
      <description>&lt;P&gt;I think &lt;CODE&gt;mvfind&lt;/CODE&gt; may help you.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval names = if ( isnull ( mvfind ( names, "32" ) ), null, names )
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 09 May 2020 20:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492956#M137491</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-09T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to match string in multi value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492957#M137492</link>
      <description>&lt;P&gt;@richgalloway thanks for the quick response, its working fine but above mentioned value(32) comes from drop down using token, the problem is when i select any value in the drop down list its working fine but if i select * which is default value of that drop down at that time shown an error. plz help on this, once again thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 04:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492957#M137492</guid>
      <dc:creator>james_n</dc:creator>
      <dc:date>2020-05-11T04:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to match string in multi value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492958#M137493</link>
      <description>&lt;P&gt;The second argument to &lt;CODE&gt;mvfind&lt;/CODE&gt; (and &lt;CODE&gt;match&lt;/CODE&gt;) must be a valid regular expression. &lt;CODE&gt;*&lt;/CODE&gt; is not valid, but &lt;CODE&gt;.*&lt;/CODE&gt; is.  Try that.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 11:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/492958#M137493</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-11T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to match string in multi value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/604103#M210141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your match() syntax in just not good.&lt;BR /&gt;It should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | eval names= mvfilter(match(names,"32"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-string-in-multi-value-field/m-p/604103#M210141</guid>
      <dc:creator>Senak</dc:creator>
      <dc:date>2022-07-01T10:21:02Z</dc:date>
    </item>
  </channel>
</rss>

