<?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 DBConnect - Best way to join three tables in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120088#M184035</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I've three tables with the following structure in the same Microsoft SQL database:&lt;/P&gt;

&lt;P&gt;ApplicationEvent - Columns: id,application_id,message&lt;/P&gt;

&lt;P&gt;Application - Columns: id,name, applicationtype_id&lt;/P&gt;

&lt;P&gt;ApplicationType - Columns: id, name&lt;/P&gt;

&lt;P&gt;I want to get the following row in SPLUNK:&lt;BR /&gt;
ApplicationEvent.message, Application.name, ApplicationType.name&lt;/P&gt;

&lt;P&gt;What's the best way to achieve this?&lt;/P&gt;

&lt;P&gt;I've tried automatic lookups, lookup command and join without success.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2014 14:28:18 GMT</pubDate>
    <dc:creator>UMoritz</dc:creator>
    <dc:date>2014-01-21T14:28:18Z</dc:date>
    <item>
      <title>DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120088#M184035</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I've three tables with the following structure in the same Microsoft SQL database:&lt;/P&gt;

&lt;P&gt;ApplicationEvent - Columns: id,application_id,message&lt;/P&gt;

&lt;P&gt;Application - Columns: id,name, applicationtype_id&lt;/P&gt;

&lt;P&gt;ApplicationType - Columns: id, name&lt;/P&gt;

&lt;P&gt;I want to get the following row in SPLUNK:&lt;BR /&gt;
ApplicationEvent.message, Application.name, ApplicationType.name&lt;/P&gt;

&lt;P&gt;What's the best way to achieve this?&lt;/P&gt;

&lt;P&gt;I've tried automatic lookups, lookup command and join without success.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120088#M184035</guid>
      <dc:creator>UMoritz</dc:creator>
      <dc:date>2014-01-21T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120089#M184036</link>
      <description>&lt;P&gt;Have you considered joining them in SQL before indexing / loading into Splunk?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120089#M184036</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-01-21T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120090#M184037</link>
      <description>&lt;P&gt;Yes best think to do, it's waste of resource to do that in splunk..&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 17:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120090#M184037</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-21T17:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120091#M184038</link>
      <description>&lt;P&gt;Why not create a 'view' on the database server that joins these tables. Then your dbconnect query is a simple select * from view_name&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120091#M184038</guid>
      <dc:creator>jpass</dc:creator>
      <dc:date>2014-01-21T18:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120092#M184039</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;

&lt;P&gt;Thanks for your answers. I'll check this.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120092#M184039</guid>
      <dc:creator>UMoritz</dc:creator>
      <dc:date>2014-01-22T10:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect - Best way to join three tables</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120093#M184040</link>
      <description>&lt;P&gt;Hi jpass&lt;/P&gt;

&lt;P&gt;thanks to you, too.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:30:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DBConnect-Best-way-to-join-three-tables/m-p/120093#M184040</guid>
      <dc:creator>UMoritz</dc:creator>
      <dc:date>2014-01-22T10:30:47Z</dc:date>
    </item>
  </channel>
</rss>

