<?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: DB Connect 1: Is it possible to get a new field using dbquery that does not exist in an index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157195#M185795</link>
    <description>&lt;P&gt;The right way to do this is a dblookup.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2015 02:52:01 GMT</pubDate>
    <dc:creator>jcoates_splunk</dc:creator>
    <dc:date>2015-06-29T02:52:01Z</dc:date>
    <item>
      <title>DB Connect 1: Is it possible to get a new field using dbquery that does not exist in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157194#M185794</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I want to know if it's possible to get a new field from dbquery that does not exist in an index:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=A 
[|inputlookup file.csv | table field_ip]
| join type=outer fieldA [dbquery ..."select......" |fields + fieldA |rename fieldA as fieldB]
|table fieldB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i tried this, but was not successful. fieldB doesn't exist in index=A, but i need it. How can i do it? &lt;/P&gt;

&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157194#M185794</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2015-06-15T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 1: Is it possible to get a new field using dbquery that does not exist in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157195#M185795</link>
      <description>&lt;P&gt;The right way to do this is a dblookup.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 02:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157195#M185795</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-06-29T02:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 1: Is it possible to get a new field using dbquery that does not exist in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157196#M185796</link>
      <description>&lt;P&gt;but the dblookup can return just the first matching line in my database&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 07:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-1-Is-it-possible-to-get-a-new-field-using-dbquery/m-p/157196#M185796</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2015-06-30T07:27:51Z</dc:date>
    </item>
  </channel>
</rss>

