<?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: Find the difference between 2 tables. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705022#M57757</link>
    <description>&lt;P&gt;Assuming component1 is a subset of component2 (which you seem to be implying)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval component=coalesce(component1, component2)
| stats count by component
| where count=1&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 22 Nov 2024 10:21:36 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-11-22T10:21:36Z</dc:date>
    <item>
      <title>Find the difference between 2 tables.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705021#M57756</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How can i find the difference between 2 tables?.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc task="task1"|dedup component1 |table component1
|append [index=abc task="task2" |dedup component2 |table component2]
|table component1 component2&lt;/LI-CODE&gt;&lt;P&gt;these are the 2 tables. I want to show the extra data which are in component2 and not in component1.&lt;/P&gt;&lt;P&gt;How can i do it?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 10:15:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705021#M57756</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2024-11-22T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find the difference between 2 tables.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705022#M57757</link>
      <description>&lt;P&gt;Assuming component1 is a subset of component2 (which you seem to be implying)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval component=coalesce(component1, component2)
| stats count by component
| where count=1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Nov 2024 10:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705022#M57757</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-22T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find the difference between 2 tables.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705024#M57758</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt; , actually it is not subset. its just that im passing different token for taskand getting the 2nd table. In this case will coalesce will work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc task="$task1$"|dedup component1 |table component1
|append [index=abc task="$task2$" |dedup component2 |table component2]
|table component1 component2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 10:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705024#M57758</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2024-11-22T10:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find the difference between 2 tables.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705034#M57760</link>
      <description>&lt;P&gt;The coalesce will work it is just that if the count is 1 it could be that it only occurs in component1 or component2 and you would have to do something slightly different if you want to distinguish which set the component comes from&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 13:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Find-the-difference-between-2-tables/m-p/705034#M57760</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-22T13:11:03Z</dc:date>
    </item>
  </channel>
</rss>

