# Correct data type for Telegraf

**URL:** <https://community.influxdata.com/t/correct-data-type-for-telegraf/32595>\
**Category:** Telegraf\
**Created:** [December 23, 2023, 5:12pm UTC](https://community.influxdata.com/t/correct-data-type-for-telegraf/32595 "2023-12-23T17:12:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SerhiiZahuba](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/serhiizahuba/32/14797_2.png) [@SerhiiZahuba](https://community.influxdata.com/u/SerhiiZahuba)\
**Post date:** [December 23, 2023, 5:12pm UTC](https://community.influxdata.com/t/correct-data-type-for-telegraf/32595/1 "2023-12-23T17:12:25Z")

</div>

Please help me choose the right data type for the log  
I have a log of this format  
“DCCE01”,“IAS”,12/21/2023,14:45:01,1,“[user@ua.domain.com](mailto:user@ua.domain.com)”,“CE\user@ua.domain.com”,"195.56.245.68 ",“78.137.10.135”,“CE-VR-ROS-UserVPN”,“10.250.103.47”,15730375,0,“10.25.3.4”,“UserVpnServer.CE-VR-ROS-UserVPN”, 5,1,2,4,0,“311 1 172.26.19.101 12/08/2023 15:49:03 1”,“817006b8”, ,“[ua.domain.com](http://ua.domain.com)”,“Accept request from ALL RADIUS clients”,1,

And my telegraf config  
[[inputs.tail]]  
files = [“C:/ad\_scpript/\*.log”]  
watch\_method = “poll”  
data\_format = “csv”  
csv\_header\_row\_count = 0  
csv\_timestamp\_format = “2006-01-02T15:04:05Z07:00”  
csv\_column\_names = [“name1”, “name2”, “name3”, “name4”, “name5”, “name6”]

I tried several types of configs, but in influx I constantly see the error “unsupported input type for mean aggregate: string”  
Please tell me what I’m doing wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![jpowers](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jpowers/32/8569_2.png) [@jpowers](https://community.influxdata.com/u/jpowers)\
**Post date:** [January 2, 2024, 2:35pm UTC](https://community.influxdata.com/t/correct-data-type-for-telegraf/32595/2 "2024-01-02T14:35:38Z")

</div>

> [@SerhiiZahuba](#):
>
> unsupported input type for mean aggregate: string”

You have not shared your full config, so what is “mean aggregate” referring to? Is it a column in your data? Why are you using a string on something that is probably a float?
