Commit Graph

218 Commits

Author SHA1 Message Date
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
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