# Integer is not recognized

**URL:** https://discuss.elastic.co/t/integer-is-not-recognized/273920
**Category:** Logstash
**Created:** [May 25, 2021, 10:57am UTC](https://discuss.elastic.co/t/integer-is-not-recognized/273920 "2021-05-25T10:57:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dinesh5](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@dinesh5](https://discuss.elastic.co/u/dinesh5)
#### Post date: [May 25, 2021, 10:57am UTC](https://discuss.elastic.co/t/integer-is-not-recognized/273920/1 "2021-05-25T10:57:12Z")

</div>

Hi

Here is my sample data

Madhya Pradesh;22.9734;78.6569;57766;764338;7558  
Maharashtra;19.7515;75.7139;351005;5579897;88620  
Manipur;24.6637;93.9063;6534;44089;688

Logstash considered the text and float but it doesn't recognize the integer (last 3 values in a row)

![image](https://us1.discourse-cdn.com/elastic/original/3X/3/2/32db3c023102d517dbb18fca2fe1446b2c212557.png)

and here is my lsdp.conf

```auto
input {
file {
path => "/home/noname/Desktop/lsdp.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
separator => ";"
columns => ["State", "latitude", "longitude", "ActiveCases", "TotalPositive", "TotalDeath"]
}
mutate {
convert => {
"latitude" => "float"
"longitude" => "float"
"Cases" => "integer"
"Recovered" => "integer"
"Death" => "integer"
}
}
mutate {
rename => {
"longitude" => "[location][lon]"
"latitude" => "[location][lat]"
}
}
}
output {
elasticsearch {
hosts => "http://192.168.0.102:9200"
index => "lsdp"
}
stdout {codec => rubydebug}
}

```

and the index

```auto
PUT lsdp
{
"mappings": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}

```

can anyone help me out

Thanks in advance

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 22, 2021, 10:57am UTC](https://discuss.elastic.co/t/integer-is-not-recognized/273920/2 "2021-06-22T10:57:36Z")

</div>

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