telegraf/plugins/inputs
Butitsnotme 4886109d9c Added option to remove all CRs from input stream
Added the option removecr to inputs.exec to remove all carraige returns
(CR, ASCII 0x0D, Unicode codepoint \u0D, ^M). The option is boolean and
not enabled if not present in the config file.

closes #1606

Updated CHANGELOG.md with information about removecr

Ran go fmt ./...

Moved removal of CRs to internal/internal.go

Moved the code to remove carriage returns from
plugins/inputs/exec/exec.go to internal/internal.go. Additionally
changed the conditional on which it gets applied from using a
configuration file option to checking if it is running on Windows.

Moved Carriage Return check to correct place

Moved the carriage return removal back to the exec plugin. Added unit
testing for it. Fixed a bug (removing too many characters).

Ran go fmt ./...

Reverted CHANGELOG to master

Updated Changelog
2016-08-31 10:32:33 +01:00
..
aerospike start aerospike container 1st for unit tests 2016-08-24 09:16:55 +01:00
all Alternate SNMP plugin (#1389) 2016-08-22 16:37:53 +01:00
apache fix datarace in input apache plugin 2016-06-22 14:42:47 +01:00
bcache Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
cassandra cassandra plugin lower version support added 2016-07-18 09:22:20 +01:00
ceph Ceph Cluster Performance Input Plugin 2016-08-30 15:43:07 +01:00
cgroup Moving cgroup path name to field from tag to reduce cardinality (#1457) 2016-07-14 14:18:55 -06:00
chrony add option to disable dns lookup for chronyc 2016-05-25 18:58:56 +01:00
cloudwatch Move default ratelimit to init 2016-08-30 14:33:51 -07:00
conntrack Adding a conntrack input plugin 2016-05-31 10:42:19 +01:00
consul Added Consul health checks state monitoring. (#1294) 2016-06-01 11:02:28 +01:00
couchbase Update gopsutil dependency 2016-03-22 09:13:31 -06:00
couchdb Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
disque Don't allow inputs to overwrite host tag 2016-04-19 17:44:33 -06:00
dns_query Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
docker Added option "total/perdevice" to Docker input (#1525) 2016-07-21 16:50:12 +01:00
dovecot Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
elasticsearch Make elasticsearch timeout configurable 2016-08-29 11:06:30 +01:00
exec Added option to remove all CRs from input stream 2016-08-31 10:32:33 +01:00
filestat Tail input plugin 2016-04-26 09:42:06 -06:00
graylog graylog input doc tweaks 2016-06-01 18:44:18 +01:00
haproxy Make the user able to specify full path for HAproxy stats 2016-07-19 11:35:15 +01:00
hddtemp Implement support for fetching hddtemp data (#1411) 2016-07-21 17:00:54 +01:00
http_response http_response plugin: Add SSL config options 2016-05-25 13:44:36 +01:00
httpjson httpjson: support configurable response_timeout (#1651) 2016-08-30 16:23:15 +01:00
influxdb Also added reasonable default for influxdb input plugin 2016-05-31 13:41:02 +01:00
ipmi_sensor Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
jolokia jolokia: handle multiple multi-dimensional attributes (#1524) 2016-07-20 14:47:04 +01:00
kafka_consumer Remove docker-machine/boot2docker dependencies & references 2016-06-22 17:25:01 +01:00
leofs Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
logparser Removing INFLUXDB_HTTP_LOG from logparser usage/docs 2016-08-04 16:42:59 +01:00
lustre2 Adding Jobstats support to Lustre2 input plugin 2016-04-27 15:35:24 -06:00
mailchimp Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
memcached Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
mesos Some improvment in mesos input plugin, (#1572) 2016-08-30 15:25:29 +01:00
mongodb Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
mqtt_consumer Update etc/telegraf.conf, mqtt_cons readme 2016-05-10 14:18:55 -07:00
mysql Added missing column, refs #1646 (#1647) 2016-08-22 15:35:39 +01:00
nats_consumer Update all readme instances of data formats 2016-04-05 14:42:20 -06:00
net_response Utilize timeout in net_response plugin. 2016-05-23 15:59:23 +01:00
nginx Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
nsq Fix err race condition and partial failure issues 2016-07-19 14:45:55 +01:00
nsq_consumer feat(nsq_consumer): Add input plugin 2016-06-23 14:06:36 +01:00
nstat nstat: fix nstat setting path for snmp6 2016-07-19 14:51:36 +01:00
ntpq ntpq: don't index ntp fields that dont exist 2016-08-16 15:16:42 +01:00
passenger Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
phpfpm Fix leaky tcp connections in phpfpm plugin 2016-04-26 09:24:32 -06:00
ping Fix problem with metrics when ping return Destination net unreachable ( windows ) (#1561) 2016-08-09 08:27:30 +01:00
postgresql Cleanup & standardize config file 2016-04-01 10:59:53 -06:00
postgresql_extensible Fix postgres extensible text (#1601) 2016-08-09 08:25:59 +01:00
powerdns Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
procstat gopsutil, fix /proc/pid/io naming issue 2016-08-05 09:53:14 +01:00
prometheus Prometheus parser fix, parse headers properly 2016-07-09 22:34:59 +02:00
puppetagent Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
rabbitmq Add support for self-signed certs to RabbitMQ input plugin (#1503) 2016-07-19 10:24:06 +01:00
raindrops Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
redis add missing redis metrics 2016-08-31 01:05:11 -04:00
rethinkdb Don't allow inputs to overwrite host tag 2016-04-19 17:44:33 -06:00
riak Fix: riak with read_repairs available 2016-06-22 14:56:44 +01:00
sensors remove cgo dependeny with forking sensors command 2016-08-09 08:38:05 +01:00
snmp Alternate SNMP plugin (#1389) 2016-08-22 16:37:53 +01:00
snmp_legacy Rename snmp plugin to snmp_legacy 2016-08-11 16:11:35 +01:00
sqlserver Updated sqlserver.go - Added Rows/Logs max size (#1380) 2016-06-22 14:39:35 +01:00
statsd statsd, udp, tcp: do not log every dropped metric. 2016-06-10 13:47:33 +01:00
sysstat fix interval rounding error 2016-05-23 11:20:01 +01:00
system fixes #1450 (#1472) 2016-07-10 13:17:53 +01:00
tail Fix racy tail from beginning test 2016-07-28 14:08:12 +01:00
tcp_listener tcp/udp listeners, remove locks & improve test coverage 2016-07-28 13:42:34 +01:00
trig Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
twemproxy Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
udp_listener tcp/udp listeners, remove locks & improve test coverage 2016-07-28 13:42:34 +01:00
varnish logparser input plugin 2016-06-21 14:23:01 +01:00
webhooks Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00
win_perf_counters If win stat buffer is empty, do not try to index 2016-08-09 08:29:37 +01:00
zfs fix build flags 2016-06-01 18:58:54 +01:00
zookeeper Modernize zookeeper readme (#1615) 2016-08-10 22:58:47 +01:00
EXAMPLE_README.md Add request for sample queries (#1608) 2016-08-08 23:06:03 +01:00
mock_Plugin.go Add request for sample queries (#1608) 2016-08-08 23:06:03 +01:00
registry.go Create public models for telegraf metrics, accumlator, plugins 2016-01-27 15:42:50 -07:00