<?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 Splunk DBConnect Can't write data in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383891#M46689</link>
    <description>&lt;P&gt;Hello All&lt;/P&gt;

&lt;P&gt;DBConnect 3.1.3 is avoiding me to index data from Databases, although the input configuration actually works fine, I can see the query results.&lt;/P&gt;

&lt;P&gt;But when the scheduled input runs on a regular basis, I get this error and data is never written to the index.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[QuartzScheduler_Worker-16] ERROR c.s.d.s.task.listeners.RecordWriterMetricsListener - action=unable_to_write_batch
java.io.IOException: HTTP Error 400: Bad Request
    at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEventBatch(HttpEventCollector.java:112)
    at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEvents(HttpEventCollector.java:89)
    at com.splunk.dbx.server.dbinput.recordwriter.HecEventWriter.writeRecords(HecEventWriter.java:36)
    at org.easybatch.core.job.BatchJob.writeBatch(BatchJob.java:203)
    at org.easybatch.core.job.BatchJob.call(BatchJob.java:79)
    at org.easybatch.extensions.quartz.Job.execute(Job.java:59)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas of workaround besides downgrading (by the way, the official downgrade would have to be to 2.4.1, not acceptable)&lt;/P&gt;

&lt;P&gt;Any help?&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 14:46:48 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2018-06-14T14:46:48Z</dc:date>
    <item>
      <title>Splunk DBConnect Can't write data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383891#M46689</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;

&lt;P&gt;DBConnect 3.1.3 is avoiding me to index data from Databases, although the input configuration actually works fine, I can see the query results.&lt;/P&gt;

&lt;P&gt;But when the scheduled input runs on a regular basis, I get this error and data is never written to the index.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[QuartzScheduler_Worker-16] ERROR c.s.d.s.task.listeners.RecordWriterMetricsListener - action=unable_to_write_batch
java.io.IOException: HTTP Error 400: Bad Request
    at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEventBatch(HttpEventCollector.java:112)
    at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEvents(HttpEventCollector.java:89)
    at com.splunk.dbx.server.dbinput.recordwriter.HecEventWriter.writeRecords(HecEventWriter.java:36)
    at org.easybatch.core.job.BatchJob.writeBatch(BatchJob.java:203)
    at org.easybatch.core.job.BatchJob.call(BatchJob.java:79)
    at org.easybatch.extensions.quartz.Job.execute(Job.java:59)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas of workaround besides downgrading (by the way, the official downgrade would have to be to 2.4.1, not acceptable)&lt;/P&gt;

&lt;P&gt;Any help?&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383891#M46689</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-06-14T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DBConnect Can't write data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383892#M46690</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I have the same problem too : &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/661463/why-is-the-splunk-db-connect-not-indexing-data.html"&gt;https://answers.splunk.com/answers/661463/why-is-the-splunk-db-connect-not-indexing-data.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I think it's a bug in version 3.1.3...&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 07:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383892#M46690</guid>
      <dc:creator>apair</dc:creator>
      <dc:date>2018-06-15T07:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DBConnect Can't write data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383893#M46691</link>
      <description>&lt;P&gt;The bug is clear now: when I edit the url for the jdbc connection string, Splunk has the host field on the left empty (as it should as everything is done on the customized one). The problem is that Splunk is using that empty host field as the one for http event collector from databases, and as it is a required field, hence the error. The workaround now is to set that field with the host before editing the string and leave it there.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 07:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383893#M46691</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-06-15T07:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DBConnect Can't write data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383894#M46692</link>
      <description>&lt;P&gt;OMG thank you. Been banging my head for days trying to figure out what was going on!!!&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383894#M46692</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2018-08-14T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DBConnect Can't write data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383895#M46693</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Please, can you help me to solve problem with Splunk DB Connect:&lt;BR /&gt;
Install Splunk 7.1.3 and DB Connect 3.1.3. &lt;BR /&gt;
Select data from Oracle DB in SQL Explorer&lt;BR /&gt;
Set cron = * * * * *, sourcetype = db, index = oracle.&lt;BR /&gt;
Search index = oracle -&amp;gt; empty result. &lt;BR /&gt;
Also we tried to downgrade/upgrade core and app versions: Splunk 7.1.3 - &amp;gt; Splunk Db Connect 3.1.3, Splunk 7.1.3 - &amp;gt; Splunk Db Connect 2.4.1, Splunk 6.6.7 - &amp;gt; Splunk Db Connect 3.1.3, Splunk 6.6.7 - &amp;gt; Splunk Db Connect 2.4.1.&lt;BR /&gt;
We see db, view and table in DbConnect and select data from Oracle in SQL Explorer. Why data from query don’t write into index? &lt;/P&gt;

&lt;P&gt;Best regards, Ablay Salikov.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 05:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DBConnect-Can-t-write-data/m-p/383895#M46693</guid>
      <dc:creator>a_salikov</dc:creator>
      <dc:date>2018-10-12T05:26:02Z</dc:date>
    </item>
  </channel>
</rss>

