# How to transfer the array to csv format

**URL:** <https://discuss.elastic.co/t/how-to-transfer-the-array-to-csv-format/125685>\
**Category:** Logstash\
**Created:** [March 27, 2018, 1:44am UTC](https://discuss.elastic.co/t/how-to-transfer-the-array-to-csv-format/125685 "2018-03-27T01:44:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![terrymu](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@terrymu](https://discuss.elastic.co/u/terrymu)\
**Post date:** [March 30, 2018, 2:18am UTC](https://discuss.elastic.co/t/how-to-transfer-the-array-to-csv-format/125685/7 "2018-03-30T02:18:21Z")

</div>

wwalker,

I have met a new issue related to convert data type, can you help to check it? thank you.

> [@Failed to convert the data type from string to float](https://discuss.elastic.co/t/failed-to-convert-the-data-type-from-string-to-float/126175):
>
> Hi experts, I have met an data type converting issue. My requirement is parse a xml file ------ done collect some node information which i need ------ done add a field to be used to retrieve it ------ done convert data type of this field from string to float, need use it to draw a trend in kibana. ------blocking The input file is: \<?xml version="1.0" encoding="UTF-8"?\> \<OMeS version="2.3"\> \<PMSetup startTime="2018-03-09T07:50:00.000+01:00" interval="5"\> \<PMMOResult\> \<MO dimens…

---

_[View the full topic](https://discuss.elastic.co/t/how-to-transfer-the-array-to-csv-format/125685)._
