<?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: Syntax for dboutput in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43120#M2175</link>
    <description>&lt;P&gt;Thanks, cramasta, but I think I wasn't clear about my problem.  The dboutput usage string says it takes either an output-stanza name or a set of arguments (type, database, etc.).  I'm trying to do the former and it's not being accepted.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2013 17:38:21 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2013-05-23T17:38:21Z</dc:date>
    <item>
      <title>Syntax for dboutput</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43118#M2173</link>
      <description>&lt;P&gt;I'm attempting to update a MySQL table using dboutput.  I have an output stanza defined to simplify my searches.  If I use the following search command where 'myupdate' is my output stanza name:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| dboutput myUpdate IPAddress NetAddress ComputerName Manufacturer Model
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get this error message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"Error in 'dboutput' command: command="dboutput", Missing mandatory option: type (Usage: dboutput ([dboutput-stanza] | type=&amp;lt;insert|update&amp;gt; database=&amp;lt;database&amp;gt; table=&amp;lt;table&amp;gt; [notFound=&amp;lt;ignore|fail|insert&amp;gt;] (&amp;lt;field&amp;gt; [as column]|*)+) )"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It would seem I am not specifying dboutput-stanza correctly.  Can anyone set me straight?  Or is this a bug in dboutput?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 17:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43118#M2173</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-05-22T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for dboutput</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43119#M2174</link>
      <description>&lt;P&gt;you need to list as the fields like below. I believe it works like field1(name in splunk results) AS field1(column name in db)&lt;/P&gt;

&lt;P&gt;| dboutput type=insert database=mydb table=mytable key=somekey field1 AS field1 field2 AS field2&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 17:08:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43119#M2174</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-05-23T17:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for dboutput</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43120#M2175</link>
      <description>&lt;P&gt;Thanks, cramasta, but I think I wasn't clear about my problem.  The dboutput usage string says it takes either an output-stanza name or a set of arguments (type, database, etc.).  I'm trying to do the former and it's not being accepted.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 17:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43120#M2175</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-05-23T17:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for dboutput</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43121#M2176</link>
      <description>&lt;P&gt;The dboutput command changed in DBX 1.1 to not allow output stanzas.  The complete syntax is now documented in &lt;A href="http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Commands#dboutput"&gt;http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Commands#dboutput&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Syntax-for-dboutput/m-p/43121#M2176</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-10-11T12:12:23Z</dc:date>
    </item>
  </channel>
</rss>

