Data in discover


I load data from a rest api to elasticsearch via logstash.
first i create my index 'bookings'with mapping then i load the data using logstash.
the problem is when i view the datain discover i get error in the data type .
for example 'idhotel': 125478 ... in discover it is displayed 'idhotel: 125,478
ps: in the mapping I put 'idhotel' of type integer

any help please !

Hi @hiba

You can change the display-format of a field-value using field-formatters of the index pattern. (go to "Management">"Index pattern"-> select your bookings index pattern)

You probably just want String formatter instead of the default.

thank you .
it's work

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.