Telegraf exec plugin

telegraf
#1

I have the following format:

awsebs,Name=[company-2b-app90]_secondary,hostname=company-2b-app90-i-0jjb1boop26f42f50,high_availability=1,mirror=secondary,cluster=company,autoscale=true,role=app create_time=2017-01-09_23:24:29.428000+00:00,availability_zone=us-east-2b,volume_id=vol-058e1d47dgh721121,volume_type=gp2,state=in-use,size=8,iops=100,encrypted=False,snapshot_id=snap-06h1h1b91bh662avn,kms_key_id=None,InstanceId=i-0jjb1boop26f42f50,InstanceVolumeState=attached,DeleteOnTermination=True,Device=/dev/sda1

Ran: $ telegraf --config-directory=/etc/telegraf --test --input-filter=exec --debug command to test it but got an error.

2017/03/10 02:39:34 I! Using config file: /etc/telegraf/telegraf.conf
* Plugin: inputs.exec, Collection 1
2017-03-10T02:39:34Z E! Errors encountered: [ invalid number]

What do I need to change to make telegraf exec plugin work!

#2

Well, it seems like Influx LINE PROTOCOL is very strict about what it can handle.
Solution posted here: http://stackoverflow.com/questions/42708348/telegraf-exec-plugin-aws-ec2-ebs-volumen-info-metric-parsing-error-reason/42709771#42709771