<?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: using mvfind for an eventtype in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20414#M3183</link>
    <description>&lt;P&gt;I'm not sure what the deal is with mvfind, but would this work?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search X | eval a=mvfilter(eventtype LIKE "network_%") | search a=* | timechart count by a
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Jun 2011 01:53:28 GMT</pubDate>
    <dc:creator>mw</dc:creator>
    <dc:date>2011-06-01T01:53:28Z</dc:date>
    <item>
      <title>using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20413#M3182</link>
      <description>&lt;P&gt;i have numerous eventtypes defined and in many cases a logging event may have several eventtypes associated with it.&lt;/P&gt;

&lt;P&gt;i would like to be able to plot the eventtypes such that i do not get duplicates in the chart/pie chart. for example, i may have a log entry with eventtype=cisco_syslog_types and eventtype=network_port (ie it's a multivariable field)&lt;/P&gt;

&lt;P&gt;i understand that there is a 'mvfind()' command where i could potentially do something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search X | eval mvfind( eventtype, "network_*" )
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it returns that the 'mvfind' function is unsupported. i'm using splunk 4.2.1.&lt;/P&gt;

&lt;P&gt;i've also tried using the mvindex() command with success, however, as the order of the eventtype mv is never the same, its usefulness is somewhat limited.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20413#M3182</guid>
      <dc:creator>ytl</dc:creator>
      <dc:date>2020-09-28T09:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20414#M3183</link>
      <description>&lt;P&gt;I'm not sure what the deal is with mvfind, but would this work?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search X | eval a=mvfilter(eventtype LIKE "network_%") | search a=* | timechart count by a
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jun 2011 01:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20414#M3183</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-01T01:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20415#M3184</link>
      <description>&lt;P&gt;cool; that worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; is there a way to do a 'NOT' in the like? specifically, i have single events with both eventtypes network_acl and network_acl.deny and i only care to count the ones without the '.' in the eventtype. cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:38:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20415#M3184</guid>
      <dc:creator>ytl</dc:creator>
      <dc:date>2020-09-28T09:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20416#M3185</link>
      <description>&lt;P&gt;Strangely, I don't think you can literally do: mvfilter(eventtype NOT LIKE "..").  I believe you have to switch syntax.  Something like (this uses regular expressions, rather than %): &lt;STRONG&gt;eval a=mvfilter(NOT match(eventtype, "\..*$")) | search a=*&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2011 15:52:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20416#M3185</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-05T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20417#M3186</link>
      <description>&lt;P&gt;To be clear, you can use mvfilter(match(...)) and mvfilter(NOT match(...)), mvfilter(like(...)), etc&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2011 16:23:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20417#M3186</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-05T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: using mvfind for an eventtype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20418#M3187</link>
      <description>&lt;P&gt;mvfind is only available from 4.2.2 - &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2012 13:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-mvfind-for-an-eventtype/m-p/20418#M3187</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2012-08-03T13:43:23Z</dc:date>
    </item>
  </channel>
</rss>

