I'm using NXLOG to send data from CSV files to Elasticsearch.

It's working correctly; Other numbers with decimals are being sent as Strings.

What FieldType should I use to work with numbers with decimal places (such as: decimal, double, float)?

Thank you.

<Extension ExtData>
     Module xm_csv
     Fields $Time,$Id,$Budget,$Tax
     FieldTypes string,integer,DECIMAL,DOUBLE
     Delimiter ','

AskedJune 23, 2017 - 11:02pm

Comments (1)

  • b0ti's picture

    Unfortunately float/double type is not yet supported so it can be only stored as a string.

    Perhaps you could try using QuoteMethod None to avoid the quotes?

Answers (0)