<?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 3.1.4 - Unable to write records - Error in handling indexed fields in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403066#M8005</link>
    <description>&lt;P&gt;Did you update the DB Connect to 3.1.4 version?&lt;BR /&gt;
I had to reinstall it and stopped working after it...&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jan 2019 17:59:43 GMT</pubDate>
    <dc:creator>apascualcrespo</dc:creator>
    <dc:date>2019-01-16T17:59:43Z</dc:date>
    <item>
      <title>DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403064#M8003</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
I have a problem about splunk DB Connect App (Splunk Enterprise 7.2.3 - DB Connect 3.1.4) with my MySQL instance.&lt;BR /&gt;
The MYSQL query return events and it's all right, rising column is ok, no error, but after I save the input, the events are not indexed:&lt;/P&gt;

&lt;P&gt;2019-01-11 10:12:13.855 +0100  [QuartzScheduler_Worker-8] ERROR org.easybatch.core.job.BatchJob - &lt;STRONG&gt;Unable to write records&lt;/STRONG&gt;&lt;BR /&gt;
java.io.IOException: HTTP Error 400, HEC response body: {"text":"&lt;STRONG&gt;Error in handling indexed fields&lt;/STRONG&gt;","code":15,"invalid-event-number":0}, trace: HttpResponseProxy{HTTP/1.1 400 Bad Request [Date: Fri, 11 Jan 2019 09:12:13 GMT, Content-Type: application/json; charset=UTF-8, X-Content-Type-Options: nosniff, Content-Length: 78, Vary: Authorization, Connection: Keep-Alive, X-Frame-Options: SAMEORIGIN, Server: Splunkd] ResponseEntityProxy{[Content-Type: application/json; charset=UTF-8,Content-Length: 78,Chunked: false]}}&lt;BR /&gt;
        at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEventBatch(HttpEventCollector.java:132)&lt;BR /&gt;
        at com.splunk.dbx.server.dbinput.recordwriter.HttpEventCollector.uploadEvents(HttpEventCollector.java:96)&lt;BR /&gt;
        at com.splunk.dbx.server.dbinput.recordwriter.HecEventWriter.writeRecords(HecEventWriter.java:36)&lt;BR /&gt;
        at org.easybatch.core.job.BatchJob.writeBatch(BatchJob.java:203)&lt;BR /&gt;
        at org.easybatch.core.job.BatchJob.call(BatchJob.java:79)&lt;BR /&gt;
        at org.easybatch.extensions.quartz.Job.execute(Job.java:59)&lt;BR /&gt;
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)&lt;BR /&gt;
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)&lt;BR /&gt;
2019-01-11 10:12:13.855 +0100  [QuartzScheduler_Worker-8] INFO  org.easybatch.core.job.BatchJob - Job 'test_bcc013' finished with status: FAILED&lt;/P&gt;

&lt;P&gt;The column of table are very simple and small like a integer id or char name.&lt;/P&gt;

&lt;P&gt;Someone can help me please?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403064#M8003</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2020-09-29T22:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403065#M8004</link>
      <description>&lt;P&gt;I resolve the problem tuning the env variable of OS (my LANG/LC_ALL was in IT) :&lt;/P&gt;

&lt;P&gt;LANG=&lt;STRONG&gt;en_US.UTF-8&lt;/STRONG&gt; &lt;BR /&gt;
LC_ALL=&lt;STRONG&gt;en_US.UTF-8&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;After server reboot, this one has resolved my problem.&lt;/P&gt;

&lt;P&gt;Splunk Enterprise: 7.2.3&lt;BR /&gt;
DB Connect: 3.1.4&lt;BR /&gt;
OS Centos: 7.x&lt;BR /&gt;
DB: MySQL 5.x&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Antonio&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:44:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403065#M8004</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2020-09-29T22:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403066#M8005</link>
      <description>&lt;P&gt;Did you update the DB Connect to 3.1.4 version?&lt;BR /&gt;
I had to reinstall it and stopped working after it...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 17:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403066#M8005</guid>
      <dc:creator>apascualcrespo</dc:creator>
      <dc:date>2019-01-16T17:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403067#M8006</link>
      <description>&lt;P&gt;As I mention before, I thought that it was related with the new version, not sure if only DB Connect (3.1.4) or also because of Splunk Enterprise (7.2.3).&lt;BR /&gt;
I solved it downgrading Splunk Enterprise to 7.2.1 and uninstalling DB Connect, then I installed 3.1.2 version and made new connections and identities in DB Connect. Don't copy them from 3.1.4, you have make new ones from beginning, otherwise it will not work.&lt;/P&gt;

&lt;P&gt;I hope it helps you.&lt;/P&gt;

&lt;P&gt;Álvaro.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 11:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403067#M8006</guid>
      <dc:creator>apascualcrespo</dc:creator>
      <dc:date>2019-01-17T11:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403068#M8007</link>
      <description>&lt;P&gt;No, DB Connect version 3.1.4 was first installation, but I keep mind yor suggestion.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Antonio&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403068#M8007</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2019-01-17T14:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403069#M8008</link>
      <description>&lt;P&gt;Thank you Alvaro!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403069#M8008</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2019-01-17T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403070#M8009</link>
      <description>&lt;P&gt;Did you solve it?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 12:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403070#M8009</guid>
      <dc:creator>apascualcrespo</dc:creator>
      <dc:date>2019-01-18T12:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403071#M8010</link>
      <description>&lt;P&gt;Yes I solved it but I did not try with downgrade.&lt;BR /&gt;
I keep your suggestion as another way to solve the problem.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Antonio&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 14:47:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403071#M8010</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2019-01-21T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403072#M8011</link>
      <description>&lt;P&gt;Hey guys!&lt;/P&gt;

&lt;P&gt;What about Windows environment?&lt;/P&gt;

&lt;P&gt;Wich settings must we use? &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 16:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403072#M8011</guid>
      <dc:creator>chlima</dc:creator>
      <dc:date>2019-02-25T16:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403073#M8012</link>
      <description>&lt;P&gt;Did you encountered problem on Windows?&lt;BR /&gt;&lt;BR /&gt;
By default I advise you to install the last version of Splunk Enteprise and DB Connect.&lt;/P&gt;

&lt;P&gt;Let us know if you're having problems.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Antonio&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 09:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403073#M8012</guid>
      <dc:creator>aagro</dc:creator>
      <dc:date>2019-02-26T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403074#M8013</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;Yes! I got errors like this (Unable to write records) on Windows and versions 3.1.4 or 3.1.3&lt;/P&gt;

&lt;P&gt;I solved this by downgrading to 3.1.1&lt;/P&gt;

&lt;P&gt;I saw in the post below and confirmed through internal logs that time field from HEC payload has a comma and not a dot like in documentation. Maybe it be a bug ? &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/640570/why-are-dbconnect-3-inputs-unable-to-write-records.html"&gt;https://answers.splunk.com/answers/640570/why-are-dbconnect-3-inputs-unable-to-write-records.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 12:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403074#M8013</guid>
      <dc:creator>chlima</dc:creator>
      <dc:date>2019-02-27T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403075#M8014</link>
      <description>&lt;P&gt;Http Event Collector expects to receive dates in format:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;timestamp.microsecondes&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Splunk DB connect transforms dates in this format via Java. If the default locale takes the comma as the decimal separator, the problems start ...&lt;/P&gt;

&lt;P&gt;To solve this problem :&lt;/P&gt;

&lt;P&gt;In Splunk DB Connect &amp;gt; Configuration&amp;gt; Settings&amp;gt; General, add the option in JVM Options:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;-Duser.language=en&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Save, java server restarts.&lt;/P&gt;

&lt;P&gt;,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 12:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403075#M8014</guid>
      <dc:creator>thomasroulet</dc:creator>
      <dc:date>2019-04-09T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect 3.1.4 - Unable to write records - Error in handling indexed fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403076#M8015</link>
      <description>&lt;P&gt;This solved my problem, in my case it was the correct solution. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 07:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/DB-Connect-3-1-4-Unable-to-write-records-Error-in-handling/m-p/403076#M8015</guid>
      <dc:creator>skramp</dc:creator>
      <dc:date>2019-04-18T07:32:32Z</dc:date>
    </item>
  </channel>
</rss>

