All Apps and Add-ons

After upgrading Splunk DB Connect, why am I getting error "invalid literal for float()" when I create a db input?

dbrancaglion
Explorer

I can see the results without problem in the query page, but if I create a db input, Splunk shows me the following error in /opt/splunk/var/log/splunk/dbx2.log :

[ERROR] [modular_input_event_writer.py], line 102: action=converting_incoming_data_in_csv_to_event_stream_failed input_mode=batch dbinput="mi_input://rec_limit_exporter" error="invalid literal for float(): 1471289753,172"

This error happened after I upgraded my Splunk DB Connect. Can I roll this back?

I tried to reinstall all Splunk DB Connect 2, but with no success.

Someone have a similar problem?

dlisicre
Explorer

As indicated in mhornste thread, changing output_timestamp_format = dd-MM-yyyy HH:mm:ss to Epoch managed to solve this issue for me.
Kind regards,
David Lisin

0 Karma

dlisicre
Explorer

Same issue here at the moment.

0 Karma

mhornste
Path Finder

I have the same problem. I'm not using SSL and enable_query_wrapping = 0/ 1 don't work (both of them).

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...