Daniel Nelson
c73ed8ca6c
Export internal/tls package for use in execd plugins ( #7697 )
2020-06-25 11:44:22 -07:00
Steven Soroka
36e584e92f
execd processor
2020-06-24 13:01:46 -04:00
Ricardo Ribalda Delgado
e8461fe27a
Skip overs errors in the output of the sensors command ( #7718 )
2020-06-23 11:40:53 -07:00
Daniel Nelson
4e93b87085
Add support for once mode; run processors and aggregators during test ( #7474 )
2020-06-01 15:26:20 -07:00
Daniel Nelson
d27f676091
Update to Go 1.14.3 with testing using 1.13.11 ( #7564 )
2020-05-26 15:40:25 -07:00
Steven Soroka
2561aac6ef
fix go version check ( #7562 )
2020-05-26 16:11:02 -04:00
Daniel Nelson
edd8338180
Close HTTP2 connections on timeout in influxdb outputs ( #7517 )
2020-05-19 11:53:10 -07:00
Josh Soref
bf1eb291f2
Fix assorted spelling mistakes ( #7507 )
2020-05-15 15:43:32 -07:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
Daniel Nelson
fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks ( #7390 )
2020-05-06 11:59:16 -07:00
Daniel Nelson
d16485e1a3
Fix gzip support in socket_listener with tcp sockets ( #7446 )
2020-05-04 16:26:05 -07:00
Steven Soroka
b73a232a6a
Support Go execd plugins with shim ( #7283 )
2020-05-04 14:09:10 -04:00
Daniel Nelson
a4eb9c2205
Use the product token for the user agent in more locations ( #7378 )
2020-04-21 10:02:18 -07:00
Steven Soroka
819481b195
add support for SIGUSR1 to trigger flush ( #7366 )
2020-04-20 13:49:10 -04:00
Ilya Antipov
0cad343de7
Support multiple templates for graphite serializers ( #7136 )
2020-03-31 11:30:21 -07:00
M0rdecay
da9f19ca9d
Allow using name_* modificators for output plugins ( #7174 )
2020-03-13 15:04:23 -07:00
Daniel Nelson
c50b02e58d
Fix internal metrics for output split into multiple lines ( #7119 )
2020-03-10 15:19:32 -07:00
Harshit Bansal
134af0fe4b
Fix log rotation to use actual file size instead of bytes written ( #7133 )
2020-03-10 12:07:42 -07:00
reimda
a0276385b1
Refactor InfluxDB listener ( #6974 )
...
Use streaming parser in InfluxDB listener
2020-03-04 11:13:44 -07:00
Steven Soroka
2e32f894b6
Fix inconsistency with input error counting ( #7077 )
2020-02-25 10:40:29 -08:00
Steven Soroka
5023df08d8
resolves issues where failed api calls lead to obscure errors ( #7051 )
2020-02-19 21:46:08 -05:00
Daniel Nelson
38bc81e746
Fix atomic usage in tests ( #6964 )
2020-01-31 14:14:44 -08:00
Daniel Nelson
c6519c7793
Hook up json_strict option with default of true ( #6909 )
2020-01-21 10:10:02 -08:00
Brad Vernon
40311dcd7a
Fix missing config fields in prometheus serializer ( #6823 )
2019-12-26 10:15:25 -08:00
Daniel Nelson
80c5edd48e
Add prometheus serializer and use it in prometheus output ( #6703 )
2019-11-26 15:46:31 -08:00
Lance O'Connor
bc8769ba24
Add Splunk MultiMetric support ( #6640 )
2019-11-18 12:38:34 -08:00
陈方舟
fa2f0fff4e
Fix influxdb output serialization on connection closed ( #6621 )
2019-11-13 12:56:01 -08:00
dbutler-starry
2156a6242e
Add support for per output flush jitter ( #6603 )
2019-11-12 16:43:39 -08:00
Daniel Nelson
2397c53d7d
Exclude alias tag if unset from plugin internal stats ( #6571 )
2019-10-23 12:40:31 -07:00
Daniel Nelson
b3f20f69f5
Default logtarget to file for backwards compatibility ( #6555 )
2019-10-22 13:32:03 -07:00
Daniel Nelson
74c7dd3ce7
Fix logger initialization in exec input ( #6492 )
2019-10-07 12:18:36 -07:00
David McKay
367dee791a
Add auth header only when env var is set ( #6469 )
2019-09-30 16:55:47 -07:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Daniel Nelson
776e92ffab
Require goplugin build flag to enable go plugin support ( #6393 )
2019-09-20 16:50:19 -07:00
Daniel Nelson
6dc61be6eb
Fix detection of layout timestamps ( #6390 )
2019-09-16 16:32:14 -07:00
Daniel Nelson
5dcd0daa42
Document the pros and cons of increasing the metric_buffer_limit
2019-09-09 17:50:46 -07:00
Vlasta Hajek
7ec54d4be9
Improve startup error reporting when ran as Windows service ( #4291 )
2019-08-28 14:34:44 -07:00
Mattias Jiderhamn
08b903a646
Use environment variables to locate Program Files on Windows ( #6317 )
2019-08-27 13:47:01 -07:00
Daniel Nelson
b578586d4a
Send TERM to exec processes before sending KILL signal ( #6302 )
2019-08-22 10:50:02 -07:00
Daniel Nelson
94f68c06d7
Use alias name in output metric buffer stats
2019-08-21 18:06:04 -07:00
Daniel Nelson
3cdc6c32dd
Fix measurement name for write errors
2019-08-21 18:06:04 -07:00
Daniel Nelson
8b938f3bd4
Make review changes to logstash input ( #6299 )
2019-08-21 18:04:30 -07:00
Greg
5c8d0e3ac9
Add ability to label inputs for logging ( #6207 )
2019-08-21 16:49:07 -07:00
Greg
10671d2641
Stop timer when command exits in WaitTimeout ( #6296 )
2019-08-21 11:13:38 -07:00
Greg
819bf8e99d
Add exec output plugin ( #6267 )
2019-08-20 17:07:24 -07:00
Stanislav Putrya
149d221191
Add capability to limit TLS versions and cipher suites ( #6246 )
2019-08-19 16:01:01 -07:00
Daniel Nelson
28f1bdb696
Add note to configuration about when log rotation occurs
2019-07-31 13:30:30 -07:00
pberlowski
dc292b73a9
Add grace period for metrics late for aggregation ( #6049 )
2019-07-31 12:52:12 -07:00
Preston Carpenter
5c7c9e40ee
Load external go plugins ( #6024 )
2019-07-29 21:34:03 -07:00
George
77b1a43539
Fix template pattern partial wildcard matching ( #6135 )
2019-07-19 13:14:15 -07:00
Pitxyoki
72c2ac9648
Support floats in statsd percentiles ( #5572 )
2019-07-09 16:50:20 -07:00
Daniel Nelson
c5d8e63a0f
Fix path separator matching in filecount input ( #6077 )
2019-07-08 14:46:00 -07:00
Daniel Nelson
a0c739eec7
Follow up work on docker_log input ( #6008 )
2019-06-20 11:54:12 -07:00
Daniel Nelson
9b338410cb
Rename formdata parser to form_urlencoded
2019-06-17 14:50:58 -07:00
Boris Yonchev
fd9abd2166
Add formdata parser ( #5749 )
2019-06-17 13:34:54 -07:00
Daniel Nelson
0ff9c8ef88
Add call to optional Init function for all plugins ( #5899 )
2019-06-14 15:12:27 -07:00
Daniel Nelson
de096428be
Run ServiceInputs during test mode; add --test-wait option ( #5911 )
2019-06-14 12:06:25 -07:00
Daniel Nelson
f2b3b35640
Print global_tags first in sample configuration
2019-06-05 14:07:02 -07:00
Daniel Nelson
0fb9040a64
Fix double close error with log rotation ( #5960 )
2019-06-05 13:55:21 -07:00
Daniel Nelson
77cac557ba
Log a warning on write if the metric buffer has overflowed ( #5959 )
2019-06-05 12:34:45 -07:00
Daniel Nelson
6c3534a66e
Add support for remaining file rotation options ( #5944 )
2019-06-03 17:38:21 -07:00
Daniel Nelson
17d66b864c
Close idle connections in influxdb outputs when reloading ( #5912 )
2019-05-31 16:55:31 -07:00
Daniel Nelson
aaaad4d217
Add health output plugin ( #5882 )
2019-05-29 18:31:06 -07:00
Daniel Nelson
b5cd9a9ff2
Add support for gzip compression to amqp plugins ( #5830 )
2019-05-20 14:36:23 -07:00
Charlie Vieth
43c6d13c33
Refactor templateSpec less method ( #5840 )
2019-05-15 16:35:07 -07:00
Daniel Nelson
e52f7056ba
Fix parse of unix timestamp with more than ns precision ( #5826 )
2019-05-14 11:29:44 -07:00
javicrespo
761705c299
Add syslog output plugin ( #5802 )
2019-05-08 11:21:51 -07:00
Daniel Nelson
74c9d7ace2
Update logfile documentation
2019-05-03 10:55:11 -07:00
javicrespo
bcf7516a23
Add in process log rotation ( #5778 )
2019-05-03 10:25:28 -07:00
Daniel Nelson
7978ebef40
Add --service-display-name option for use with Windows service ( #5770 )
2019-04-30 18:34:19 -07:00
Daniel Nelson
d2fbf2414a
Add --section-filter to usage
2019-04-25 20:39:41 -07:00
Greg
6436005553
Add cli support for outputting sections of the config ( #5585 )
2019-04-25 20:34:40 -07:00
Greg
32f0cb16f5
Update naoina/toml library dependency ( #5513 )
2019-04-25 20:19:58 -07:00
Daniel Nelson
2faf37e5c1
Fix docs for metric buffer limit to reflect current behavior ( #5741 )
2019-04-17 15:46:20 -07:00
Pierre Tessier
267a9f182b
Add wavefront serializer plugin ( #5670 )
2019-04-05 14:46:12 -07:00
Daniel Nelson
6feb6c1853
Add support for ${} env vars in configuration file ( #5648 )
2019-03-29 16:02:10 -07:00
Daniel Nelson
4e3244c575
Fix aggregator window and shutdown of multiple aggregators ( #5644 )
2019-03-29 15:40:33 -07:00
Daniel Nelson
99a390b8e6
Fix open error handling in file output ( #5540 )
2019-03-22 13:59:30 -07:00
Daniel Nelson
eeb0e094c2
Remove test directory with .. prefix
2019-03-18 12:47:47 -07:00
Daniel Nelson
0b5811e193
Fix panic when rejecting empty batch ( #5524 )
2019-03-04 12:36:19 -08:00
Daniel Nelson
c57f2d9d48
Ignore tracking for metrics added to aggregator ( #5508 )
2019-03-01 11:21:31 -08:00
Daniel Nelson
598a79bf62
Remove 'inputs.' prefix when logging loaded inputs ( #5489 )
...
* Remove 'inputs.' prefix when logging loaded inputs
* Remove prefix from aggregators name
2019-02-26 18:31:43 -08:00
Daniel Nelson
03f40b3588
Remove prefix from aggregators name
2019-02-26 18:22:12 -08:00
Greg
85617887c4
Add option to disable timestamp adjustment in grok parser ( #5488 )
2019-02-26 17:35:57 -08:00
Greg Linton
8d90609198
Remove 'inputs.' prefix when logging loaded inputs
2019-02-26 17:03:13 -07:00
Douglas Drinka
1886676e14
Support configuring a default timezone in JSON parser ( #5472 )
2019-02-25 11:30:33 -08:00
Greg
10ac030502
Unify time parsing in json/csv parsers ( #5382 )
2019-02-05 17:43:35 -08:00
Daniel Nelson
1a81e49d05
Return error loading config on non-200 response
2019-02-05 15:15:58 -08:00
Greg
458d3109c0
Set skip rows and columns in csv parser ( #5336 )
2019-01-23 11:37:24 -08:00
Daniel Nelson
b34c5e0d04
Update the buffer_size internal metric after writes ( #5314 )
2019-01-22 13:43:51 -08:00
Daniel Nelson
da80276802
Use lifo order in metric buffer ( #5287 )
2019-01-15 11:48:52 -08:00
Daniel Nelson
0fd08dd65a
Add a copy of the input metric when adding to aggregator ( #5266 )
2019-01-08 11:56:44 -08:00
Daniel Nelson
3621bcf5a6
Add basic unittest for templating engine
2019-01-07 14:14:00 -08:00
Daniel Nelson
4fd5fa006b
Allow non-tls config downloading
2019-01-04 10:40:44 -08:00
emily
f42d9378ba
Add cloud_pubsub input plugin ( #5136 )
2019-01-03 16:20:07 -08:00
Samuel-BF
f530ca6e7c
Use godirwalk in globpath ( #5145 )
2018-12-18 14:23:25 -08:00
Daniel Nelson
544262a23a
Apply global and plugin level metric modifications before filtering ( #5152 )
2018-12-18 14:20:43 -08:00
Samuel-BF
8906e2796b
Add size to filecount input ( #4778 )
2018-12-13 12:25:49 -08:00
Greg
74d8523db6
Aggregate early metrics, rather than ignore ( #5085 )
2018-12-10 16:07:08 -08:00
Daniel Nelson
0a506a93fe
Remove metrics from the buffer on write ( #5052 )
2018-11-29 12:58:48 -08:00
Daniel Nelson
574fa5a6be
Add support for fetching config over https ( #4637 )
2018-11-05 14:19:46 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Samuel-BF
589d0587f6
Add ability to specify bytes options as strings with units (KB, MiB, ...) ( #4852 )
2018-10-19 11:17:18 -07:00
Samuel-BF
f259229a35
Improve performance of globpath with some patterns ( #4836 )
2018-10-12 14:48:11 -07:00
Kevin Conaway
7bb219222a
Add internal function for telegraf version ( #4828 )
2018-10-09 13:45:07 -07:00
Mihai Todor
f3da717a88
Add entity-body compression to http output ( #4807 )
2018-10-05 15:06:41 -07:00
Rudy
a1f9f63463
Add new config for csv column explicit type conversion ( #4781 )
2018-10-03 18:19:44 -07:00
Daniel Nelson
c3bab78ea8
Fix case of timezone/grok_timezone options. ( #4799 )
2018-10-03 13:58:21 -06:00
Daniel Nelson
7553c8fd13
Remove metric recreation when filtering ( #4767 )
2018-09-28 14:48:20 -07:00
Lee Jaeyong
6b7d64f1d6
Add ability to define a custom service name when installing as a Windows service ( #4753 )
2018-09-27 18:41:24 -07:00
Lee Jaeyong
a086ea6989
Use time.AfterFunc to avoid need for goroutine in WaitTimeout ( #4702 )
2018-09-26 19:15:38 -07:00
Daniel Nelson
fe0b964d3e
Document that proc/agg/outputs are not run as part of --test
2018-09-20 15:00:05 -07:00
Daniel Nelson
1e3e28428d
Clean up csv_trim_space after building parser config
2018-09-20 12:55:58 -07:00
Lee Jaeyong
dfe8e3b473
Fix config file types of csv_skip_rows and csv_skip_columns ( #4726 )
2018-09-20 12:43:39 -07:00
Daniel Nelson
a75c789e3e
Remove warning not to set flush_interval below interval
2018-09-18 18:13:20 -07:00
Daniel Nelson
b5299f4cc4
Fix cleanup of csv parser options, use per file parser ( #4712 )
2018-09-18 09:23:45 -07:00
Daniel Nelson
1aa969aabc
Use separate mutexes for write and aggregation in running_output
2018-09-12 00:23:50 -07:00
Lance O'Connor
c80aab0445
Add Splunk Metrics serializer ( #4339 )
2018-09-11 13:01:08 -07:00
Daniel Nelson
23a8498963
Fix locking if output is an AggregatingOutput
2018-09-10 15:14:14 -07:00
Daniel Nelson
1ca17652cd
Fix parsing and documentation for json_string_fields ( #4656 )
2018-09-10 11:55:08 -07:00
Greg
4ef058c120
Document all supported cli arguments ( #4655 )
2018-09-10 11:53:04 -07:00
Gunnar
f70d6519e7
Add Azure Monitor output plugin ( #4089 )
2018-09-05 14:50:32 -07:00
maxunt
889745a112
Add csv parser ( #4439 )
2018-08-24 16:40:41 -07:00
maxunt
2729378b7f
Add name, time, path and string field options to JSON parser ( #4351 )
2018-08-22 19:26:48 -07:00
estk
edb6e1f655
Implement a lock based ring buffer for internal/buffer. ( #3377 )
2018-08-20 13:47:48 -07:00
Daniel Nelson
886d8cc840
Drop message batches in kafka output if too large ( #4565 )
2018-08-17 13:51:21 -07:00
Daniel Nelson
feb75d493a
Lock buffer when adding metrics ( #4514 )
...
This function is not thread-safe but is currently used by multiple
goroutines in RunningOutput
2018-08-07 11:22:10 -07:00
Shanshi Shi
e538433959
Preserve metric type when using filters in output plugins ( #4481 )
2018-08-01 16:39:54 -06:00
Daniel Nelson
93ed28e745
Add support for configuring an AWS endpoint_url ( #4485 )
2018-07-31 16:07:21 -06:00
maxunt
774a9f0492
Add file input plugin and grok parser ( #4332 )
2018-07-13 23:22:59 -07:00
maxunt
9ebf16636d
Add parse_multivalue to collectd parser ( #4403 )
2018-07-11 17:29:23 -07:00
maxunt
39206677f8
Add new measurement with results of pgrep lookup to procstat input ( #4307 )
2018-06-19 11:47:13 -07:00
Daniel Nelson
acba20af1a
Fix TLS and SSL config option parsing ( #4247 )
2018-06-06 18:29:59 -07:00
Piotr Popieluch
dfe7b5eec2
Don't skip metrics during startup in aggregate phase ( #4230 )
2018-06-05 16:30:53 -07:00
Piotr Popieluch
e0071f365a
Print the enabled aggregator and processor plugins on startup ( #4212 )
2018-05-31 11:56:49 -07:00
Daniel Nelson
0d21296aed
Expose graphite_tag_support option in graphite output data format
2018-05-21 16:39:15 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
7c0754ebe5
Move usage string to internal to fix `go run`
2018-05-04 14:16:21 -07:00
Bob Shannon
0b4f4b089f
Add TLS support to socket_writer and socket_listener plugins ( #4021 )
2018-04-17 17:02:04 -07:00
Daniel Nelson
c8d2ba2bc8
Remove RateLimiter tests due to race conditions
...
These tests are fundamentally racy, removing to improve reliability of
test cases.
2018-04-16 18:52:52 -07:00
jvassev
2c19d74829
Prevent loading config twice in K8S ( #3999 )
...
When config dir is mounted from configmap, filepath.Walk() finds the same
.conf file twice as 20-acme.conf is a link to ..data/20-acme.conf for example.
This patch skips all folder names starting with '..' which is pretty
uncommon and mainly used by Kubernetes mounts.
2018-04-11 16:51:19 -07:00
Daniel Nelson
beeab2c509
Sort field names when running --test
2018-04-04 16:30:22 -07:00
Daniel Nelson
b99cd14129
Add influx uint support as a runtime option ( #3948 )
2018-03-29 13:31:43 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Daniel Nelson
8147d60973
Fix metric buffer limit in internal plugin after reload
2018-02-19 20:55:28 -08:00
Paul Myjavec
12d62e60b3
Use CircleCI 2.0 for builds ( #3731 )
2018-02-01 15:05:39 -08:00
Piotr Popieluch
601dc99606
Align aggregator period with internal ticker to avoid skipping metrics ( #3693 )
...
By the time the aggregator.run() was called about 600ms already passed since setting now which was skewing up the aggregation intervals and skipping metrics.
2018-01-18 17:37:53 -08:00
atzoum
317de40ac4
Add support for dropwizard input format ( #2846 )
2018-01-08 15:11:36 -08:00
Daniel Nelson
b0c2bb870e
Escape environment variables during config toml parsing ( #3637 )
2018-01-04 15:28:00 -08:00