<?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 count equal and different elements between two fields (crossvalidation) in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544644#M4901</link>
    <description>&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&lt;P&gt;hELLO&amp;nbsp; sir&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Influencer lia-component-message-view-widget-author-username"&gt;&lt;BR /&gt;thank you so much for tryign to help I am very grateful for that.&lt;BR /&gt;&lt;BR /&gt;Lets make up the following&amp;nbsp; data.&lt;BR /&gt;&lt;BR /&gt;ID_SUGGAR="5,1,45,78,100,200,300"&lt;BR /&gt;ID_DOUBLE="5,1,45,78"&lt;BR /&gt;My goal is to have a table or a fild that will tell me, the IDS that are in&amp;nbsp;ID_SUGGAR and NOT in&amp;nbsp;ID_DOUBLE are = 100,200,300&lt;BR /&gt;&lt;BR /&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp; for your kind help Im sending you&amp;nbsp; hug from a distance! have a great weekend stat safe and thank you so much&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 20 Mar 2021 20:38:36 GMT</pubDate>
    <dc:creator>andres91302</dc:creator>
    <dc:date>2021-03-20T20:38:36Z</dc:date>
    <item>
      <title>How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544331#M4886</link>
      <description>&lt;P&gt;Hello everyone I hope you are all well and safe!&lt;/P&gt;&lt;P&gt;My data= Two fields that contain IDS from clientes of a tea shop, fields= ID_SUGGAR, ID_DOUBLE&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I want to know: I want to be able to identify with a function what IDS are in BOTH&amp;nbsp;ID_SUGGAR AND ID_DOUBLE , and also what IDS are only exclusive or only present in ID_SUGGAR (Which means these IDS are not in ID_DOUBLE)&lt;BR /&gt;&lt;BR /&gt;Thank you to anyone who can link some documentation about it I Love you all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 13:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544331#M4886</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-03-18T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544397#M4891</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232004"&gt;@andres91302&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval ID=mvzip(ID_SUGGAR,ID_DOUBLE) 
| makemv delim="," ID 
| mvexpand ID 
| eval IDS_SUGGAR=if(ID_SUGGAR==ID,ID_SUGGAR,null()) 
| eval IDS_DOUBLE=if(ID_DOUBLE==ID,ID_DOUBLE,null()) 
| eval IDS_BOTH=if(ID_SUGGAR==ID_DOUBLE,ID_SUGGAR,null()) 
| stats dc(IDS_*) as * by ID&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 19:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544397#M4891</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-18T19:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544500#M4894</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi man! this did not work.. for me. I would like to thank you for trying to help me&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 13:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544500#M4894</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-03-19T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544566#M4896</link>
      <description>&lt;P&gt;If you can post a sample data, I can find why it didn't work&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 19:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544566#M4896</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-19T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544644#M4901</link>
      <description>&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&lt;P&gt;hELLO&amp;nbsp; sir&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Influencer lia-component-message-view-widget-author-username"&gt;&lt;BR /&gt;thank you so much for tryign to help I am very grateful for that.&lt;BR /&gt;&lt;BR /&gt;Lets make up the following&amp;nbsp; data.&lt;BR /&gt;&lt;BR /&gt;ID_SUGGAR="5,1,45,78,100,200,300"&lt;BR /&gt;ID_DOUBLE="5,1,45,78"&lt;BR /&gt;My goal is to have a table or a fild that will tell me, the IDS that are in&amp;nbsp;ID_SUGGAR and NOT in&amp;nbsp;ID_DOUBLE are = 100,200,300&lt;BR /&gt;&lt;BR /&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp; for your kind help Im sending you&amp;nbsp; hug from a distance! have a great weekend stat safe and thank you so much&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 20 Mar 2021 20:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544644#M4901</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-03-20T20:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544668#M4907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232004"&gt;@andres91302&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I was assuming the values are in separate events. Below should work based on your sample;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makemv delim="," ID_SUGGAR 
| makemv delim="," ID_DOUBLE
| eval IDS=mvmap(ID_SUGGAR,if(isnull(mvfind(ID_DOUBLE,ID_SUGGAR)),ID_SUGGAR,null()))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Mar 2021 05:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544668#M4907</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-21T05:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal and different elements between two fields (crossvalidation)</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544684#M4910</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp; this was AWESOME 10/10 thank you so so so much I have also being search your replies for others post and man... you have helped a lot for this is such a great help and I want to praise your job!!!! thank so so so so so so much&lt;/P&gt;</description>
      <pubDate>Sun, 21 Mar 2021 15:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-count-equal-and-different-elements-between-two-fields/m-p/544684#M4910</guid>
      <dc:creator>andres91302</dc:creator>
      <dc:date>2021-03-21T15:02:25Z</dc:date>
    </item>
  </channel>
</rss>

