# Different data types for same field

**URL:** <https://community.influxdata.com/t/different-data-types-for-same-field/11530>\
**Category:** Telegraf\
**Created:** [October 9, 2019, 8:53am UTC](https://community.influxdata.com/t/different-data-types-for-same-field/11530 "2019-10-09T08:53:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neo1702](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@neo1702](https://community.influxdata.com/u/neo1702)\
**Post date:** [October 9, 2019, 8:53am UTC](https://community.influxdata.com/t/different-data-types-for-same-field/11530/1 "2019-10-09T08:53:02Z")

</div>

i am collecting data from telegraf plugins into influxDB. the data was reporting as integer since the begining, but one day it started reporting as float and now i see the below error in the logs:

**: field type conflict: input field “pid\_count” on measurement “procstat\_lookup” is type float, already exists as type integer dropped=416; discarding points**

after reading some threads on google i came to know that **Types for fields are done at the shard level so each shard can have a different type**.  
how can i identify those shards that has float type data so that i can delete them and data loading may start again.

---

<div class="post-metadata">

**Author:** ![glinton](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@glinton](https://community.influxdata.com/u/glinton)\
**Post date:** [October 10, 2019, 4:39pm UTC](https://community.influxdata.com/t/different-data-types-for-same-field/11530/2 "2019-10-10T16:39:53Z")

</div>

Was the version of telegraf ever updated? If so please run the following with each version, otherwise, just once with the current version and paste the output:  
`telegraf --config /path/to/your/telegraf.conf --input-filter procstat --test`  
Thanks

---

<div class="post-metadata">

**Author:** ![neo1702](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@neo1702](https://community.influxdata.com/u/neo1702)\
**Post date:** [October 18, 2019, 9:07am UTC](https://community.influxdata.com/t/different-data-types-for-same-field/11530/3 "2019-10-18T09:07:57Z")

</div>

> [@glinton](#):
>
> telegraf --config /path/to/your/telegraf.conf --input-filter system --test

**\>2019-10-18T09:05:46Z I! Starting Telegraf 1.11.2**  
**\> system,host=brazil2 load1=7.8,load15=7.14,load5=7.35,n\_cpus=4i,n\_users=4i 1571389547000000000**  
**\> system,host=brazil2 uptime=6830362i 1571389547000000000**  
**\> system,host=brazil2 uptime\_format=“79 days, 1:19” 1571389547000000000**

---

<div class="post-metadata">

**Author:** ![neo1702](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@neo1702](https://community.influxdata.com/u/neo1702)\
**Post date:** [October 18, 2019, 9:25am UTC](https://community.influxdata.com/t/different-data-types-for-same-field/11530/4 "2019-10-18T09:25:48Z")

</div>

all the data was integer from the starting… is there a way i can find out when did float value or values started appearing? this is happening with plugins like [[inputs.system]] or [[inputs.processes]] etc.
