<?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: Is there a way to make tables in a dashboard work together using two different sources? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416141#M27346</link>
    <description>&lt;P&gt;Yes, you must write an SPL query to combine the two searches.  The dashboard will not do it for you.&lt;BR /&gt;
Like @kiamco suggests, you can use &lt;CODE&gt;join&lt;/CODE&gt; to combine them, but that is usually the least efficient way.  Often, &lt;CODE&gt;stats&lt;/CODE&gt; can used instead of &lt;CODE&gt;join&lt;/CODE&gt;.  See &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jul 2018 20:42:45 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-07-02T20:42:45Z</dc:date>
    <item>
      <title>Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416139#M27344</link>
      <description>&lt;P&gt;On my spunk dashboard I am showing tables with two different sources. Is there a way to have the tables sync up with the different data?&lt;BR /&gt;
For example: If I have a License Key that appears in one table that matches the License Key (from a different source) in the other table, can it show the Documents Processed from this? &lt;/P&gt;

&lt;P&gt;Do I need to create a search to merge these sources together or can I just do it through the dashboard?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 15:31:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416139#M27344</guid>
      <dc:creator>Ragate</dc:creator>
      <dc:date>2018-07-02T15:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416140#M27345</link>
      <description>&lt;P&gt;Try using the join command &lt;/P&gt;

&lt;P&gt;eg:&lt;BR /&gt;
your first search..&lt;BR /&gt;
|join "License key"  [|search second search]&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 18:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416140#M27345</guid>
      <dc:creator>kiamco</dc:creator>
      <dc:date>2018-07-02T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416141#M27346</link>
      <description>&lt;P&gt;Yes, you must write an SPL query to combine the two searches.  The dashboard will not do it for you.&lt;BR /&gt;
Like @kiamco suggests, you can use &lt;CODE&gt;join&lt;/CODE&gt; to combine them, but that is usually the least efficient way.  Often, &lt;CODE&gt;stats&lt;/CODE&gt; can used instead of &lt;CODE&gt;join&lt;/CODE&gt;.  See &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 20:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416141#M27346</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-07-02T20:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416142#M27347</link>
      <description>&lt;P&gt;I have tried using a join and this is what I came up:&lt;BR /&gt;
    source="C:\Users\ragate\Desktop\splunk\LMCustomerRevLicense.csv" | join type=left substr('context.custom.dimensions{}.LicenseKey' ,4,7) [search source="c:\users\ragate\desktop\splunk\jsondump.txt"] | eval LicenseKeyID=substr('context.custom.dimensions{}.LicenseKey' ,4,7) | where 'LicenseKeyID'='License Key Identifier'&lt;/P&gt;

&lt;P&gt;This only brings but one event in each field when there should be about 20 more there. Not sure where I went wrong. Also have been told that stats would work but I am not sure how to use that to do what I want. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 12:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416142#M27347</guid>
      <dc:creator>Ragate</dc:creator>
      <dc:date>2018-07-03T12:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416143#M27348</link>
      <description>&lt;P&gt;The first argument to &lt;CODE&gt;join&lt;/CODE&gt; after &lt;CODE&gt;type=left&lt;/CODE&gt; should be a field name, not an expression.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="C:\\Users\\ragate\\Desktop\\splunk\\LMCustomerRevLicense.csv" | eval LicenseKeyID=substr('context.custom.dimensions{}.LicenseKey' ,4,7) | join type=left LicenseKeyID  [search source="c:\\users\\ragate\\desktop\\splunk\\jsondump.txt" | eval LicenseKeyID=substr('context.custom.dimensions{}.LicenseKey' ,4,7)] 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:44:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416143#M27348</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-07-06T12:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make tables in a dashboard work together using two different sources?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416144#M27349</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 18:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-way-to-make-tables-in-a-dashboard-work-together-using/m-p/416144#M27349</guid>
      <dc:creator>Ragate</dc:creator>
      <dc:date>2018-07-06T18:25:17Z</dc:date>
    </item>
  </channel>
</rss>

