docs: update deprecated plugin readmes (#10100)

This commit is contained in:
Samantha Wang 2021-11-16 14:11:24 -08:00 committed by GitHub
parent db86904759
commit f71695bc98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# HTTP JSON Input Plugin
The httpjson plugin collects data from HTTP URLs which respond with JSON. It flattens the JSON and finds all numeric values, treating them as floats.
### DEPRECATED in Telegraf v1.6: Use [HTTP input plugin](../http) as replacement.
Deprecated (1.6): use the [http](../http) input.
The httpjson plugin collects data from HTTP URLs which respond with JSON. It flattens the JSON and finds all numeric values, treating them as floats.
### Configuration:

View File

@ -1,6 +1,6 @@
# Jolokia Input Plugin
**Deprecated in version 1.5:** Please use the [jolokia2](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2) plugin.
### Deprecated in version 1.5: Please use the [jolokia2](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2) plugin.
#### Configuration

View File

@ -1,5 +1,7 @@
# Kafka Consumer Legacy Input Plugin
### Deprecated in version 1.4. Please use [Kafka Consumer input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kafka_consumer).
The [Kafka](http://kafka.apache.org/) consumer plugin polls a specified Kafka
topic and adds messages to InfluxDB. The plugin assumes messages follow the
line protocol. [Consumer Group](http://godoc.org/github.com/wvanbergen/kafka/consumergroup)

View File

@ -1,11 +1,11 @@
# Logparser Input Plugin
### Deprecated in Telegraf 1.15: Please use the [tail][] plugin along with the [`grok` data format][grok parser].
The `logparser` plugin streams and parses the given logfiles. Currently it
has the capability of parsing "grok" patterns from logfiles, which also supports
regex patterns.
**Deprecated in Telegraf 1.15**: Please use the [tail][] plugin along with the [`grok` data format][grok parser].
The `tail` plugin now provides all the functionality of the `logparser` plugin.
Most options can be translated directly to the `tail` plugin:
- For options in the `[inputs.logparser.grok]` section, the equivalent option

View File

@ -1,5 +1,7 @@
# SNMP Legacy Input Plugin
### Deprecated in version 1.0. Use [SNMP input plugin][].
The SNMP input plugin gathers metrics from SNMP agents
### Configuration:
@ -547,3 +549,5 @@ ifHCOutOctets,host=127.0.0.1,instance=enp5s0,unit=octets ifHCOutOctets=10565628i
ifInDiscards,host=127.0.0.1,instance=enp5s0 ifInDiscards=0i 1456878706044510264
ifHCInOctets,host=127.0.0.1,instance=enp5s0,unit=octets ifHCInOctets=76351777i 1456878706044531312
```
[SNMP input plugin]: /plugins/inputs/snmp