Commit Graph

453 Commits

Author SHA1 Message Date
Mya 28fbdd8fba
Use gosmi for SNMP traps (#9343)
Use gosmi for snmp_trap plugin

Co-authored-by: Logan McNaughton <logan@bacoosta.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
2021-06-16 10:20:33 -06:00
Sven Rebhan 908ad2f6ce
Generic SQL input (#8735) 2021-06-15 13:10:52 -06:00
Daniel Dyla 298670ae18
Use dynatrace-metric-utils (#9295) 2021-06-08 15:27:39 -06:00
reimda e289612ff3
Add SQL output plugin (#9280) 2021-06-03 22:49:55 -06:00
Pascal Zimmermann 3ad40df311
Update pgx to v4 (#9182) 2021-06-02 21:28:16 -06:00
Steven Soroka b1d6730c9b
fix link 2021-06-02 11:45:32 -04:00
Steven Soroka dfed0e8bb7
Clarify Init errors 2021-06-02 11:34:50 -04:00
Samantha Wang aa837476d7
update github maintainer docs (#9311) 2021-06-01 17:09:37 -04:00
Sven Rebhan 2e7b232073
Modbus refactor (#9141) 2021-05-27 16:58:46 -04:00
Sven Rebhan 9ab2ea5ee2
Document inactivity procedure. (#9259) 2021-05-25 17:20:30 -04:00
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
Helen Weller 1ea5c20aad
Update packaging.md (#9258) 2021-05-11 16:24:05 -05:00
Samantha Wang 3e9f191142
Redirect former wiki links (#9183)
* fix docs links

* redirect links

* redirect links

* redirect links

* redirect links
2021-05-07 12:26:11 -07:00
Sebastian Spaink 175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs (#9235) 2021-05-04 11:15:47 -05:00
Jacob Marble 6977121aed
OpenTelemetry Input Plugin (#9077) 2021-04-30 10:36:48 -04:00
Sebastian Spaink 4fc849d73f
Upgrade gopsutil to v3.21.3 (#9224)
Co-authored-by: John Blesener <jblesener@reactivelabs.com>
2021-04-29 15:58:35 -05:00
Thomas Casteleyn ba05724918
Remove outdated milestones info from FAQ (#9213) 2021-04-28 11:57:01 -04:00
Sebastian Spaink 5256f916eb
Make microsoft lowercase (#9209) 2021-04-27 17:01:45 -05:00
Samantha Wang 1bc87ccc3c
Move wiki information to docs (#9126) 2021-04-22 16:51:21 -07:00
reimda 916ac99675
Add doc on supported platforms (#9100) 2021-04-19 16:21:06 -06:00
David Bennett 1a86fd1a2d
Config Option to Enable Logging with Local Time (#9123)
* Configurable local time logging

* make timezone configurable

* Address linter feedback.

* update with example
2021-04-16 14:39:19 -04:00
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
dependabot[bot] d5b4c3e148
Bump github.com/Azure/go-autorest/autorest/azure/auth from 0.4.2 to 0.5.6 (#8746)
* Bump github.com/Azure/go-autorest/autorest/azure/auth

Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.2 to 0.5.6.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/azure/cli/v0.4.2...autorest/azure/auth/v0.5.6)

Signed-off-by: dependabot[bot] <support@github.com>

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-25 12:07:21 -05:00
Patryk Małek e96955d1bb
Bump prometheus dependency to v2.21.0 (#8795)
* Bump prometheus dependency to v2.21.0

* Make golangci-lint happy
2021-03-25 11:18:50 -05:00
dependabot[bot] d8b28bc609
Bump collectd.org from 0.3.0 to 0.5.0 (#8745)
* Bump collectd.org from 0.3.0 to 0.5.0

Bumps [collectd.org](https://github.com/collectd/go-collectd) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/collectd/go-collectd/releases)
- [Commits](https://github.com/collectd/go-collectd/compare/v0.3.0...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-24 17:26:02 -05:00
Sebastian Spaink 29ac77906d
Change duplicate kubernetes import and update protobuf to v1.5.1 (#9039)
* Change import and update protobuf

* fix check-deps

* go mod tidy

* keep imports consistent
2021-03-24 10:59:05 -05:00
Helen Weller 67f588cbce
New prometheus remote write parser (#8967) 2021-03-18 11:33:58 -04:00
Sven Rebhan 1eb47e245c
Add input plugin for KNX home automation bus (#7048) 2021-03-18 08:39:44 -06:00
Sebastian Spaink 79f5803444
Migrate from github.com/ericchiang/k8s to github.com/kubernetes/client-go (#8937)
* new k8 client

* Make all tests pass

* Update licenses

* add timeout back

* Resolve merge conflicts

* Fix tests and linter

* Fix linter errors

* Linting issues

* Extra empty line

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-03-17 16:35:25 -05:00
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Steven Soroka 67904b07ee
update external plugin docs 2021-03-11 16:32:28 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Grace Wehner d7df2c546b
Prometheus [Input] plugin - Optimizing for bigger kubernetes clusters (500+ pods) when scraping thru 'monitor_kubernetes_pods' (#8762) 2021-03-08 11:00:56 -05:00
reimda 431d06acc0
Add XML parser using XPath queries (#8931) 2021-03-03 13:26:09 -07:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Jason Kim (Jun Chul Kim) 9075ae5175
Add MessagePack output data format (#8828) 2021-03-02 14:48:58 -05:00
Ben Keith 2cf4b751be
SignalFx Output (#6714)
* [outputs.signalfx] Add output plugin for SignalFX

This output plugin converts the `telegraf.Metrics` into signalfx
`datapoint`s and then transmits them to the ingest servers using
signalfx golang client lib.

As of this commit, the client lib is allowed to pick sane defaults
and none of its fields are overridable via telegraf config. This
can be changed in the future if needed.

The unit tests only test for conversion of `telegraf.Metric`s to
the `datapoint` structs. All code that executes after that is
assumed to be tested in the signalfx client lib itself (and not
worth writing end-to-end tests for).

Further enhancements:

 - Custom ingest urls
 - Better batching
 - More extensive tests
 - Support for events, sent by whitelist only

Co-authored-by: Ben Keith <benkeith@splunk.com>
Co-authored-by: Akshay <akshay.moghe@gmail.com>
Co-authored-by: Jay Camp <jcamp@splunk.com>
2021-02-25 15:30:01 -05:00
Sebastian Spaink 71be90d992
Support exclamation mark to create non-matching list in tail plugin (#8613)
* Replace exclamation mark with caret

* Update README and use table driven tests

* Use ReplaceAll instead

* Use doublestar package instead to glob filepath

* Add license

* Fix order of dependencies

* Doc improvement, maybe better then str replace?

* Forgot to remove nil from test

* Use regex instead of library

* Revert unnecessary change

* Go back to using library
replace string twice to handle edge case
2021-02-16 15:53:50 -06:00
Helen Weller f3a208ee28
Fix reconnection issues mqtt (#8821) 2021-02-11 11:45:13 -05:00
Patryk Małek 7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor (#8707) 2021-02-04 17:02:27 -05:00
Helen Weller cbe99ef596
add line about measurement being specified in docs (#8734) 2021-01-27 16:02:37 -05:00
Sebastian Spaink c237989631
Use go-ping for "native" execution in Ping plugin (#8679)
* Use go-ping for "native" execution in Ping plugin

* Check for ipv6 and deadline out of go func

* ensure dns failure

* Move interval and timeout calc to init
Removed dns failure check, 3rd parties libary responsibility

* Rename timeout to avoid conflict

* Move native ping to interface
Update tests

* Check for zero length
2021-01-26 16:02:43 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Samantha Wang baa658a4bb
update data formats output docs (#8674) 2021-01-12 09:44:59 -08:00
Dušan Pajin 9ee6e034fb
Input SNMP plugin - upgrade gosnmp library to version 1.29.0 (#8588) 2021-01-07 08:44:33 -07:00
Helen Weller 4608620924
remove redundant reference to docs in data formats docs (#8652) 2021-01-05 14:47:13 -05:00
Ted Timmons b75221e6c6
update influxdb_v2 config documentation in main (#8618)
[Per the v2 output readme](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md) and trial/error the fields aren't arrays, and "org" is actually "organization".
2020-12-29 14:37:19 -05:00
Andreas Fuchs 3c9c013f4b
common/tls: Allow specifying SNI hostnames (#7897)
* tls_config: Allow specifying SNI hostnames

Add a new configration field `tls_server_name` that allows specifying
the server name that'll be sent in the ClientHello when telegraf makes
a request to TLS servers. This allows checking against load balancers
responding to specific hostnames that otherwise wouldn't resolve to
their addresses.

Add the setting to the documentation of common TLS options, as well as
to the http_response plugin.

Fixes #7598.

* Adjust the x509_cert to allow usage of tls_server_name

This plugin has been using ServerName previously, and will have to
deal with the new setting, too: Extract the server-name choosing into
a method & add a test to ensure we choose the right value (and error
under the right circumstances). Also document that the two settings
are mutually exclusive.

* Improve documentation on what we try to accomplish in the nil return

Also get rid of the TODO, as I am fairly certain this behavior is the
correct one.

* Remove unused struct field in tests
2020-12-23 13:39:43 -06:00
Anthony Arnaud 045c3c18b8
Add prometheus remote write serializer (#8360) 2020-12-16 14:11:05 -05:00
Kush 945b556330
Typo in INPUTS.md (#8573) 2020-12-16 13:23:50 -05:00
Steven Soroka d79a2464d3 docs update 2020-12-10 13:21:58 -05:00
Dmitry Senin 0ccb134ae4
Add a parser plugin for prometheus (#7778) 2020-12-02 12:48:44 -07:00
Vipin Menon d536f610cd
Support Riemann-Protobuff Listener (#8163) 2020-11-27 11:30:45 -05:00
Samantha Wang e0938382b1
fix links in external plugins readme (#8307)
* fix awsalarms link in readme

* fix links
2020-11-12 09:21:47 -08:00
Steven Soroka e83a165635
kafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI (#8318) 2020-10-28 12:16:59 -04:00
Paweł Żak 14a73055f4
New input plugin for RAS with fixed GLIBC issue (#8293) 2020-10-20 17:59:05 -04:00
reimda 5a5f6fbd47
Update sarama library to 1.27.1 (#8289) 2020-10-20 11:42:37 -04:00
Steven Soroka f7f0c7324b remove unused dependency from list 2020-10-16 15:21:56 -04:00
Steven Soroka ac8f4c1e15 add plugin documentation 2020-10-14 12:27:16 -04:00
Steven Soroka 392ef9b9c0
change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
Paweł Żak fa32975d0f
New input plugin for RAS (Reliability, Availability and Serviceability) (#8114) 2020-10-01 16:54:51 -04:00
Paweł Żak b88f05592e
Missing ServiceNow metrics in DATA_FORMATS_OUTPUT.md (#8205) 2020-09-30 11:52:43 -06:00
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Sebastian 0eb65029a4
Doc update: Fix main.go shim example link (#8123) 2020-09-15 14:22:11 -04:00
Patryk Małek 4f3325e999
Fix external plugin docs links (#8081) 2020-09-04 13:27:30 -06:00
Samantha Wang b1bce91345
add tagpass/tagdrop note in docs (#8053) 2020-09-03 13:32:20 -07:00
Samantha Wang 45a87a1753
add guidelines run to external plugins with execd (#8054)
* docs - add guidelines run to external plugins with execd
2020-09-03 13:31:29 -07:00
Chris Hayles 160e1d11c7
Add OPC UA input plugin (#8009) 2020-09-02 16:52:46 -06:00
Samantha Wang 8cc08a6363
Create external plugins doc file and update contributing guide (#8001) 2020-08-26 16:43:35 -06:00
Samantha Wang 389c5380ed
Fix configuration.md formatting (#7965)
* fix configuration.md formatting

* include cloud url comments
2020-08-19 19:24:58 -04:00
Al Sargent df93825112
Add details to connect to InfluxDB OSS 2 and Cloud 2 (#7953) 2020-08-06 16:43:21 -04:00
Samantha Wang 72aa771891 edit docs 2020-07-28 12:13:26 -07:00
Samantha Wang 2344a01e73 add external plugins in docs 2020-07-28 11:54:44 -07:00
Daniel Nelson 5efce718e1
Update docker FAQ (#7868) 2020-07-21 11:54:39 -07:00
Steven Soroka 8350a6aa12
streaming processors docs update (#7786) 2020-07-06 14:23:44 -04:00
Daniel Nelson 0fbe0b3968
Allow overriding the collection_jitter and precision per input (#7762) 2020-06-30 23:15:11 -07:00
Daniel Nelson a3aaa2f7bb
Fix license check 2020-06-23 17:03:56 -07:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00
Daniel Nelson 1c292d00ca
Fail check-deps when differences are found (#7694) 2020-06-16 14:07:06 -07:00
Steven Soroka e00424d7b2
link to glob pattern docs (#7657) 2020-06-09 14:55:47 -04:00
kelseiv 573f144607
Update AGGREGATORS_AND_PROCESSORS.md (#7599) 2020-05-29 15:32:46 -07:00
Daniel Nelson 7b06624885
Update docs for newrelic output 2020-05-27 11:52:21 -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
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
Steven Soroka 819481b195
add support for SIGUSR1 to trigger flush (#7366) 2020-04-20 13:49:10 -04:00
Daniel Nelson 3380471e18
Adjust heading level in the filtering examples to allow linking 2020-04-15 10:51:31 -07:00
Daniel Nelson ccdd3cd245
Update github.com/prometheus/client_golang to latest (#7200) 2020-03-18 16:09:53 -07:00
Daniel Nelson 4e28e5721b
Update google.cloud.go to latest (#7199) 2020-03-18 15:30:49 -07:00
Daniel Nelson 9fbf288518
Remove init checks for valid label and field selectors (#7198)
Importing k8s.io/klog starts a long running goroutine at init time.
2020-03-18 13:48:29 -07:00
R290 f69b639aa9
Add Azure IoT Hub / Event Hub input plugin (#6928) 2020-03-16 10:54:21 -07:00
M0rdecay da9f19ca9d
Allow using name_* modificators for output plugins (#7174) 2020-03-13 15:04:23 -07:00
Daniel Nelson d5df7666d8
Update changelog 2020-03-12 17:01:07 -07:00
Daniel Nelson 389723c08a
Update changelog, readme, licenses 2020-03-10 15:47:05 -07:00
Steven Soroka 830a922a41 fix deps 2020-03-10 10:21:23 -04:00
Steven Soroka a76d10a44e sort lines 2020-03-10 09:59:37 -04:00
Steven Soroka 595c8b6075 update list of dependencies 2020-03-10 09:47:26 -04:00
Steven Soroka 874804a2ad update changelog 2020-03-09 18:46:55 -04:00
Daniel Nelson 318a963a89
Check license of dependencies file for changes (#7108) 2020-03-09 14:47:28 -07:00
R.I.Pienaar 79ff743064
Add support for credentials file to nats_consumer and nats output (#7022) 2020-02-20 14:30:04 -08:00
Daniel Nelson adb156c185
Remove quantile example from aggregators docs
Avoid confusion since we don't yet have an aggregator for quantiles.
2020-02-03 18:13:45 -08:00
Daniel Nelson 17c165391b
Update documentation for infiniband plugin 2020-01-16 13:56:23 -08:00
Daniel Nelson 1498f8addf
Add cardinality tips to FAQ and sqlserver input (#6852) 2020-01-08 10:52:58 -08:00
Daniel Nelson 05cefe61bd
Document --service-display-name flag for Windows service 2019-12-10 13:13:03 -08:00
likerj 3e46768578 Update supported environment variables (#6747) 2019-12-06 16:43:39 -08:00
Daniel Nelson 10dd367faa
Update changelog and dependency licences 2019-11-27 11:00:28 -08:00
Daniel Nelson 80c5edd48e
Add prometheus serializer and use it in prometheus output (#6703) 2019-11-26 15:46:31 -08:00
dbutler-starry 2156a6242e Add support for per output flush jitter (#6603) 2019-11-12 16:43:39 -08:00
Daniel Nelson 6cbaf890d9
Use github.com/gofrs/uuid 2.1.0 (#6636) 2019-11-07 17:39:19 -08:00
Daniel Nelson 80e93af25b
Add gomock to dependency licenses 2019-11-07 11:00:31 -08:00
Daniel Nelson e4170339b1
Document alias option on output, processor, aggregator plugins 2019-11-06 16:05:11 -08:00
The Dale 6881c64431 Add punctuation to CONFIGURATION.md (#6600) 2019-11-05 15:50:07 -08:00
Daniel Nelson b3f20f69f5
Default logtarget to file for backwards compatibility (#6555) 2019-10-22 13:32:03 -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 5dcd0daa42
Document the pros and cons of increasing the metric_buffer_limit 2019-09-09 17:50:46 -07:00
Daniel Nelson 80f38ae352
Update readme and changelog 2019-08-29 16:32:43 -07:00
Mattias Jiderhamn 4f54b11973 Add azure_storage_queue input plugin (#5323) 2019-08-29 16:29:25 -07:00
Vlasta Hajek 7ec54d4be9 Improve startup error reporting when ran as Windows service (#4291) 2019-08-28 14:34:44 -07:00
Daniel Nelson 139fcc5805
Update changelog and dependency licenses 2019-08-21 10:04:43 -07:00
Daniel Nelson d5b41cfc9a
Update TLS documentation 2019-08-19 17:42:39 -07:00
Stanislav Putrya 149d221191 Add capability to limit TLS versions and cipher suites (#6246) 2019-08-19 16:01:01 -07:00
pberlowski dc292b73a9 Add grace period for metrics late for aggregation (#6049) 2019-07-31 12:52:12 -07:00
Daniel Nelson aea09b3a20
Use sarama built in support for consumer groups (#6172) 2019-07-29 20:41:12 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Steven Barth e18393fabf Add Cisco model-driven telemetry & GNMI inputs (#5852) 2019-06-04 14:39:46 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -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 0aa25e2b6c
Use struct tags in plugin tutorials 2019-04-30 18:14:31 -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 1bcbc3eea7
Update docs and changelog for github input 2019-04-02 16:27:45 -07:00
Daniel Nelson 6feb6c1853
Add support for ${} env vars in configuration file (#5648) 2019-03-29 16:02:10 -07:00
Daniel Nelson 5108e82a5d
Remove unused dependencies 2019-03-04 17:17:35 -08:00
Daniel Nelson 62678fae06
Add kinesis_consumer documentation links 2019-02-25 12:06:44 -08:00
tgregory86 c18934f065 Fix typo in CONFIGURATION.md example (#5441) 2019-02-15 11:13:43 -08:00
Daniel Nelson 96f99a7a79
Update changelog 2019-02-04 12:38:45 -08:00
Pierre Tessier c37811ccd8 Update docs on using filtering to group aggregates (#5349) 2019-01-29 22:01:17 -08:00
Frank Reno a15305385f Add carbon2 serializer (#5345) 2019-01-25 18:06:08 -08:00
Daniel Nelson 0f75f3b304
Link intervals to interval section in configuation docs 2019-01-07 14:36:41 -08:00
Daniel Nelson 0ceb10e017
Rewrite configuration documentation (#5227) 2019-01-07 14:31:10 -08:00
Daniel Nelson 0afa99c17b
Update changelog and supporting files for cloud_pubsub 2019-01-03 16:28:15 -08:00
Daniel Nelson 1d6ff4fe4c
Add link to CodeStyle wiki page in plugin guides 2018-12-28 13:02:16 -08:00
Daniel Nelson 2ff3683b50
Improve config file environment variable documentation (#5200) 2018-12-27 13:12:00 -08:00
Daniel Nelson acd176cf42
Update changelog 2018-12-21 11:31:44 -08:00
Daniel Nelson 700e6b5ed3
Update changelog 2018-12-18 11:04:02 -08:00
Russ Savage d108925d81 Update license information (#5075) 2018-12-10 15:21:13 -08:00
Greg Volk cd9a79f5e6 Add tagdrop example for win_perf_counters (#5061) 2018-11-29 13:04:31 -08:00
Daniel Nelson 6e5c2f8bb6
Remove outputs blocking inputs when output is slow (#4938) 2018-11-05 13:34:28 -08:00
Daniel Nelson 3374c7583d
Update license of dependencies list 2018-10-25 12:38:27 -07:00
Daniel Nelson a6b5f2c093
Document that taginclude/tagexclude can remove ANY tag (#4847) 2018-10-10 18:06:24 -07: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
Daniel Nelson af0ef55c02
Fix license type for go-ole 2018-09-27 10:10:27 -07:00
Daniel Nelson 41d528c8ce
Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
Daniel Nelson fa1c572096
Add link to line protocol in data fromat docs 2018-09-11 13:52:13 -07:00
Lance O'Connor c80aab0445 Add Splunk Metrics serializer (#4339) 2018-09-11 13:01:08 -07:00
Daniel Nelson 1ca17652cd
Fix parsing and documentation for json_string_fields (#4656) 2018-09-10 11:55:08 -07:00
David Reniz cd4c4e7fbd Added Unix epoch timestamp support for JSON parser (#4633) 2018-09-06 18:44:33 -06:00
Vikrant 091af7e645 Add OAuth2 support to HTTP output plugin (#4536) 2018-09-06 10:54:05 -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
Ayrdrie e893dc38a2 Add logfmt parser (#4539) 2018-08-22 13:55:41 -07:00
maxunt 9e0eb0c0e0 Add ability to set measurement from matched text in grok parser (#4433) 2018-08-17 13:45:22 -07:00
Greg Linton 027016aea2 Update changelog 2018-08-14 14:41:24 -06:00
Pierre Tessier 6454319062 Add Wavefront parser (#4402) 2018-08-13 17:37:06 -06:00
Daniel Nelson 22b3bc4f8e
Remove references to logparser from the grok documentation 2018-08-10 18:11:12 -07:00
Daniel Nelson 83c4b81abe
Copy grok documentation from logparser to data format doc (#4475) 2018-07-27 18:28:33 -07: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
Daniel Nelson 7332ce0e95
Add go-syslog to dependencies licenses list 2018-06-05 11:40:03 -07:00
Daniel Nelson 6a21e23bcc
Update graphite output dataf format docs 2018-05-21 16:39:33 -07:00
Pavel Boev 7660315e45 Add support for Graphite 1.1.x tags (#4165) 2018-05-21 15:59:56 -07:00
Daniel Nelson 2948dec6f5
Update changelog and docs for application_insights plugin 2018-05-15 16:42:56 -07:00
Daniel Nelson 18db718d7f
Add jti_openconfig_telemetry to docs 2018-05-11 18:16:52 -07:00
Daniel Nelson 73c22a8189
Add SerializeBatch method to the Serializer interface (#4107) 2018-05-04 18:27:31 -07:00
Daniel Nelson bcf1cf59c1
Fix docs about outputs and fieldpass/fielddrop
This has been allowed since 1.1.0
2018-04-17 13:35:27 -07:00
Daniel Nelson a9afd2f030
Add config-directory documentation for Windows service 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 503881d4d7
Update to latest fsnotify release 2018-03-27 17:21:00 -07:00
Daniel Nelson e28f422d21
Update fsnotify path in license of dependencies 2018-03-21 23:06:14 -07:00
Menno Finlay-Smits fb947e8fe7 Add NATS Monitoring Input Plugin (#3674) 2018-01-26 15:14:54 -08:00
atzoum d188b78d9e Add string and boolean support to dropwizard; fix escaping of tags/fields (#3664) 2018-01-16 12:12:14 -08:00
Daniel Nelson 0ddb1d26a0
Add gjson and match to dependency license file 2018-01-08 15:15:23 -08:00
atzoum 317de40ac4 Add support for dropwizard input format (#2846) 2018-01-08 15:11:36 -08:00
Logan fb3d66cdd3 Typo and sentence consistency (#3581) 2017-12-13 10:51:15 -08:00
Daniel Nelson 7f66863b87
Fix HOST_MOUNT_PREFIX in docker with disk input (#3529) 2017-12-01 11:21:39 -08:00
Patric Kanngießer 76ed70340b Add Teamspeak 3 input plugin (#3315) 2017-11-01 13:27:59 -07:00
Daniel Nelson 777b84d1dc
Clarify what it means to filter metrics from processors 2017-10-30 16:32:39 -07:00
Mamat Rahmat 3bbc2beeed Fix small typo in documentation (#3364) 2017-10-19 14:47:40 -07:00
Daniel Nelson 2208657d73
Add release date info to FAQ 2017-10-17 10:43:53 -07:00
Daniel Nelson 0f452ad0df
Document /etc/default/telegraf file 2017-10-06 16:57:57 -07:00
Daniel Nelson 864ea1efaf
Improve question title in FAQ 2017-09-05 17:12:36 -07:00
Daniel Nelson 4fb1c3a2bc
Add FAQ doc with dns resolver information 2017-09-05 13:12:11 -07:00
Daniel Nelson 8225bd0173
Convert bool fields to int in graphite serializer 2017-08-29 16:22:03 -07:00
Seua Polyakov 3806424aab Skip non-numerical values in graphite format (#3179) 2017-08-29 15:59:38 -07:00
Daniel Nelson b480022330
Update config directory documentation 2017-08-22 11:33:26 -07:00
Daniel Nelson 795f02ab88 Cleanup Makefile (#3089) 2017-08-03 11:54:05 -07:00
Daniel Nelson 137b312fa9 Add Zipkin input plugin (#3080) 2017-08-02 17:58:26 -07:00
Daniel Nelson ce12913bc2
Update precision documentation and examples
Precision is no longer used by the InfluxDB output.

closes #3079
2017-08-01 15:02:36 -07:00
Oscar Sironi f8c84302a4 Add config file path troubleshooting advice for Windows (#3071) 2017-07-31 10:58:12 -07:00
Daniel Nelson d6cf9f4f30 Fix docker memory and cpu reporting in Windows (#3043) 2017-07-27 15:12:29 -07:00
Andy Cobaugh 1ff6e92193
Add input plugin for OpenLDAP (#2612) 2017-07-21 15:44:20 -07:00
Daniel Nelson 3c204d409d
Line wrap documentation 2017-07-21 10:57:12 -07:00
DanKans d903a9142d Fix filtering when both pass and drop match an item (#3036)
Adjust logic in functions responsible for passing metrics in order to be able
to process them correctly in case where pass and drop are defined together.
2017-07-21 10:53:57 -07:00
Daniel Nelson 79f8ed874a Update elastic version to 5.0.41 (#2999) 2017-07-10 12:18:56 -07:00
Daniel Nelson 739d97639a
Update dependencies 2017-07-10 12:01:22 -07:00
Ayrdrie a726579d50 Add Minecraft input plugin (#2960) 2017-06-23 16:54:12 -07:00
Seuf 2092443cd7 Add Kafka 0.9+ consumer support (#2487) 2017-06-07 18:22:28 -07:00
Daniel Nelson 8fdc2aec80
Update dependency license file 2017-05-19 18:03:49 -07:00
Daniel Nelson 052e88ad5e
Fix grammar 2017-04-27 14:59:18 -07:00
Daniel Nelson e1a734c525
Fix logfile documentation 2017-04-27 11:38:49 -07:00
Jesús Roncero 49ab4e26f8 Nagios plugin documentation fix (#2659) 2017-04-12 12:04:44 -07:00
Daniel Nelson 2c98e5ae66 Add collectd parser (#2654) 2017-04-12 10:41:26 -07:00
Daniel Nelson c9f8308f27 Update filtering documentation (#2631) 2017-04-06 12:06:08 -07:00
Dmitry Ulyanov c980c92cd5 Added pprof tool (#2512) 2017-03-29 18:28:43 -07:00
tjmcs fb1c7d0154 Adds a new json_timestamp_units configuration parameter (#2587) 2017-03-29 17:12:29 -07:00
Timothy 49c212337f Update CONFIGURATION.md (#2516)
Add information about default configuration file locations.  Also mention that the config directory option is available.
2017-03-09 11:21:03 +00:00
Guillem Jover 536dbfb724 Switch to github.com/kballard/go-shellquote (#1950)
The old gonuts fork has no License and has not seen any commits
differing from the original project, while the original has seen some
activity, even if low.

Having no license is a problem for distributors, as by default, such
projects are undistributable.
2016-11-16 11:24:11 -05:00
John Engelman 94ce67cc67 Add support to parse JSON array. (#1965) 2016-11-15 13:02:55 -05:00
Cameron Sparr 1c7715780e Documentation improvements
- fully document aggregator and processor plugins
- improve readme.md

closes #1989
2016-11-08 13:55:37 +00:00
Cameron Sparr 61269c3500 Update config generation docs
closes #1925
2016-10-25 14:46:50 +01:00
Cameron Sparr a84ce5d5cb drop metrics outside of the aggregators period 2016-10-12 14:56:03 +01:00
Cameron Sparr acfdd15aa9 Processor & Aggregator configuration doccing 2016-10-12 14:50:19 +01:00
Cameron Sparr e96f7a9b12 graphite parser, handle multiple templates empty filter
Previously, the graphite parser would simply overwrite any template that
had an identical filter to a previous template. This included the empty
filter.

Now we will still overwrite, but first we will sort to make sure that
the most "specific" template always matches.

closes #1731
2016-10-11 15:22:51 +01:00
Cameron Sparr 50ef3282b6 Refactor and code cleanup of filtering
started working on this with the idea of fixing #1623, although I
realized that this was actually just a documentation issue around
a toml eccentricity.

closes #1623
2016-09-05 16:30:18 +01:00
SoleAngelus cf37b5cdcf Update WINDOWS_SERVICE.md (#1669)
1. Added further clarification on running commands in PowerShell.
2. Added double quotes to file paths.
2016-08-29 17:36:05 +01:00
Cameron Sparr 8e22526756 Adding c:\program files\telegraf\telegraf.conf
this will now be the default config file location on windows, basically
it is the windows equivalent of /etc/telegraf/telegraf.conf

also updating the changelog

closes #1543
2016-08-08 23:17:27 +01:00
Dennis Bellinger 7b6713b094 Telegraf support for built-in windows service.
Updated windows dependencies

Updated the windows dependencies so that the versions matched the
dependencies for Mac OS and Linux. Additionally added some that were
complained about being missing at compile time.

Incorporated kardianos/service for management

Incorporated the library github.com/kardianos/service to manage the
service on the various platforms (including Windows). This required an
alternate main function.

The original main function was renamed to reloadLoop (as that is what
the main loop in it does) (it also got a couple of parameters). The
service management library calls it as the main body of the program.

Merged service.go into telegraf.go

Due to compilation issues on Windows, moved the code from service.go
into telegraf.go and removed service.go entirely.

Updated dependencies and fixed Windows service

Updated the dependencies so that it builds properly on Windows,
additionally, fixed the registered command for starting it as
a service (needed to add the config file option). This currently
standardizes it as a C:\telegraf\telegraf.conf on Windows.

Added dependency for github.com/kardianos/service

Removed the common dependencies from _windows file

Removed all the common dependencies from the Godeps_windows file and
modified Makefile to load Godeps and then Godeps_windows when building
for Windows. This should reduce problems caused by the Godeps_windows
file being forgotten when updating dependencies.

Updated CHANGELOG.md with changes

Ran `go fmt ./...` to format code

Removed service library on all but Windows

The service library [kardianos/service](github.com/kardianos/service)
has been disabled on all platforms but windows, as there is already
existing infrastructure for other platforms.

Removed the dependency line for itself

It appears that gdm accidentally added the project itself to the
dependency list. This caused the dependency restoration to select an
earlier version of the project during build.

This only affected windows.
This only affected builds after 020b2c70

Updated documentation for Windows Service

Removed the documentation about using NSSM and added documentation on
installing telegraf directly as a Windows Service.

Added license info for kardianos/service

Added the license information for github.com/kardianos/service which is
licensed under the ZLib license, although that name is never mentioned
the license text matches word for word.

Changed the Windows Config file default location

Updated the default location of the configuration file on Windows from
C:\telegraf\telegraf.conf to C:\Program Files\Telegraf\telegraf.conf.
With this change includes updating the directions, including directing
that the executable be put into that same directory. Additionally, as
noted in the instructions, the location of the config file for the
service may be changed by specifying the location with the `-config`
flag at install time.

Fixed bug - Wrong data type: svcConfig

svcConfig service.Config => svcConfig *service.Config
(It needed to be a pointer)
2016-08-08 23:10:39 +01:00
Cameron Sparr 9144f9630b graphite parser: support multiple tag keys
closes #1272
2016-05-25 17:11:28 +01:00
Cameron Sparr f2b0ea6722 value parser: doc & string handling 2016-05-02 12:17:20 -06:00
Cameron Sparr cbe32c7482 Support default config paths
precedence will be:

 1. --config command-line option
 2. $TELEGRAF_CONFIG_PATH
 3. $HOME/.telegraf/telegraf.conf
 4. /etc/telegraf/telegraf.conf
2016-04-28 17:48:24 -06:00
Pierre Fersing c159460b2c Refactor running_output buffering
closes #1087
2016-04-25 16:32:41 -06:00
Cameron Sparr 4d46589d39 JSON input: make string ignores clear 2016-04-18 13:20:06 -06:00
Cameron Sparr 81d0a64d46 Adds support for removing/keeping tags from metrics
closes #706
2016-04-16 15:13:38 -06:00
Cameron Sparr f5878eafb9 Create a template system for the graphite serializer
closes #925
closes #879
2016-04-11 16:30:18 -06:00
Ricard Clau 9320a6e115 windows service docs
closes #954
2016-04-06 11:50:36 -06:00
Cameron Sparr 64066c4ea8 Update input data format readme 2016-04-05 17:27:04 -06:00
Cameron Sparr 7e97787d9d More readme fixups 2016-04-05 16:17:45 -06:00
Cameron Sparr 4dd364e1c3 Update all readme instances of data formats 2016-04-05 14:42:20 -06:00
Cameron Sparr 8e041420cd config: parse environment variables in the config file
closes #663
2016-04-01 16:06:19 -06:00
Cameron Sparr 4ad551be9a add '*' to metric prefixes for consistency 2016-03-29 17:00:51 -06:00
Thibault Cohen 8f09aadfdf Add nagios parser for exec input plugin
closes #762
2016-03-21 13:34:47 -06:00
Chris H (CruftMaster) 20b4e8c779 GREEDY field templates for the graphite parser, and support for multiple specific field names
closes #789
2016-03-21 13:32:51 -06:00
Cameron Sparr 5c1b635229 Value parser, for parsing a single value into a metric
closes #849
2016-03-17 20:08:21 -06:00
Marcelo Salazar d66d66e74b added json serializer
closes #878
2016-03-17 13:51:16 -06:00
Cameron Sparr b102ae141a CONFIGURATION drop->fielddrop 2016-03-09 15:46:37 +01:00
Cameron Sparr 5aef725c13 Change pass/drop to namepass/namedrop for outputs
closes #730
2016-02-22 13:35:06 -07:00