<?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 Filter out rows when multivalues are present in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557513#M9248</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the sample example will work with similar use cases also.&amp;nbsp;&lt;/P&gt;&lt;P&gt;mvzip used for combining two multivalued fields and no truncation I have faced ever with mvzip. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/SearchReference/MultivalueEvalFunctions#mvzip.28.26lt.3Bmv_left.26gt.3B.2C_.26lt.3Bmv_right.26gt.3B.2C_.26lt.3Bdelim.26gt.3B.29" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/SearchReference/MultivalueEvalFunctions#mvzip.28.26lt.3Bmv_left.26gt.3B.2C_.26lt.3Bmv_right.26gt.3B.2C_.26lt.3Bdelim.26gt.3B.29&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 04:37:52 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-06-29T04:37:52Z</dc:date>
    <item>
      <title>How to Filter out rows when multivalues are present</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557312#M9236</link>
      <description>&lt;P&gt;Hello everyone I hope you guys are doing just great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sort of simple question but I have not been able to come up with a solution.. I want to be able to filter out rows of a table where there are multivalues based a numeric criteria, this is an example:&lt;/P&gt;&lt;P&gt;I have this:&lt;/P&gt;&lt;TABLE border="0" width="319px" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="79px" height="20"&gt;AGENT&lt;/TD&gt;&lt;TD width="80px"&gt;INX&lt;/TD&gt;&lt;TD width="80px"&gt;ROCKS&lt;/TD&gt;&lt;TD width="80px"&gt;TASK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79px" height="60"&gt;XX_9&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;-6&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;T&lt;/P&gt;&lt;P&gt;Y&lt;/P&gt;&lt;P&gt;U&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;TY-8&lt;/P&gt;&lt;P&gt;GY-0&lt;/P&gt;&lt;P&gt;FG-67&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79px" height="60"&gt;XX_10&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;-49&lt;/P&gt;&lt;P&gt;-66&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;UY&lt;/P&gt;&lt;P&gt;IO&lt;/P&gt;&lt;P&gt;UJI&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;TY-8E&lt;/P&gt;&lt;P&gt;G-0&lt;/P&gt;&lt;P&gt;VG-67&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to only remove all rows in the table where&amp;nbsp; the multivalue field "INX" have negative numbers and have something like this:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="79px" height="20"&gt;AGENT&lt;/TD&gt;&lt;TD width="80px"&gt;INX&lt;/TD&gt;&lt;TD width="80px"&gt;ROCKS&lt;/TD&gt;&lt;TD width="80px"&gt;TASK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79px" height="60"&gt;XX_9&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;T&lt;/P&gt;&lt;P&gt;Y&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;TY-8&lt;/P&gt;&lt;P&gt;GY-0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79px" height="60"&gt;XX_10&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;7&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;UY&lt;/P&gt;&lt;/TD&gt;&lt;TD width="80px"&gt;&lt;P&gt;TY-8E&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using mvfilter and mvfind and mvindex but... every trial has not been successful yet so I really love you guys for helping me out thanks a LOTTTT&lt;BR /&gt;&lt;BR /&gt;kindly,&lt;/P&gt;&lt;P&gt;Cindy&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 23:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557312#M9236</guid>
      <dc:creator>cindygibbs_08</dc:creator>
      <dc:date>2021-06-27T23:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter out rows when multivalues are present</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557331#M9237</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YOUR_SEARCH
| eval t=mvzip(mvzip(INX,ROCKS),TASK)
| stats count by AGENT,t
| eval INX= mvindex(split(t,","),0), ROCKS=mvindex(split(t,","),1), TASK=mvindex(split(t,","),2)
| where INX &amp;gt; 0

| stats list(INX) as INX list(ROCKS) as ROCKS list(TASK) as TASK by AGENT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Sample Search :&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval _raw="AGENT	INX	ROCKS	TASK
XX_9	7|9|-6	T|Y|U	TY-8|GY-0|FG-67
XX_10	7|-49|-66	UY|IO|UJI	TY-8E|G-0|VG-67
" | multikv forceheader=1 | eval INX=split(INX,"|"), ROCKS=split(ROCKS,"|"), TASK=split(TASK,"|")
| rename comment as "Upto Now is sample data only"
| eval t=mvzip(mvzip(INX,ROCKS),TASK)
| stats count by AGENT,t
| eval INX= mvindex(split(t,","),0), ROCKS=mvindex(split(t,","),1), TASK=mvindex(split(t,","),2)
| where INX &amp;gt; 0

| stats list(INX) as INX list(ROCKS) as ROCKS list(TASK) as TASK by AGENT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 05:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557331#M9237</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-28T05:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter out rows when multivalues are present</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557462#M9239</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp; thank you so much for your help, I have one final question... would this example still stand for multiple cases... not just this particular one but for all that are like this... moreover does the mvzip function truncate after a number of statistics?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 18:58:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557462#M9239</guid>
      <dc:creator>cindygibbs_08</dc:creator>
      <dc:date>2021-06-28T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter out rows when multivalues are present</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557513#M9248</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the sample example will work with similar use cases also.&amp;nbsp;&lt;/P&gt;&lt;P&gt;mvzip used for combining two multivalued fields and no truncation I have faced ever with mvzip. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/SearchReference/MultivalueEvalFunctions#mvzip.28.26lt.3Bmv_left.26gt.3B.2C_.26lt.3Bmv_right.26gt.3B.2C_.26lt.3Bdelim.26gt.3B.29" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/SearchReference/MultivalueEvalFunctions#mvzip.28.26lt.3Bmv_left.26gt.3B.2C_.26lt.3Bmv_right.26gt.3B.2C_.26lt.3Bdelim.26gt.3B.29&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 04:37:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557513#M9248</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-29T04:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Filter out rows when multivalues are present</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557973#M9272</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Glad to help you. You suppose to accept one of my answer. &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 05:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-Filter-out-rows-when-multivalues-are-present/m-p/557973#M9272</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-01T05:03:05Z</dc:date>
    </item>
  </channel>
</rss>

