Skip to content

Commit

Permalink
chore: clean up markdown lint errors input plugins w to z (influxdata…
Browse files Browse the repository at this point in the history
  • Loading branch information
MyaLongmire authored Nov 24, 2021
1 parent 837465f commit 7d3531a
Show file tree
Hide file tree
Showing 12 changed files with 184 additions and 122 deletions.
15 changes: 6 additions & 9 deletions plugins/inputs/webhooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
This is a Telegraf service plugin that start an http server and register multiple webhook listeners.

```sh
$ telegraf config -input-filter webhooks -output-filter influxdb > config.conf.new
telegraf config -input-filter webhooks -output-filter influxdb > config.conf.new
```

Change the config file to point to the InfluxDB server you are using and adjust the settings to match your environment. Once that is complete:

```sh
$ cp config.conf.new /etc/telegraf/telegraf.conf
$ sudo service telegraf start
cp config.conf.new /etc/telegraf/telegraf.conf
sudo service telegraf start
```


### Configuration:
## Configuration

```toml
[[inputs.webhooks]]
Expand All @@ -41,8 +40,7 @@ $ sudo service telegraf start
path = "/particle"
```


### Available webhooks
## Available webhooks

- [Filestack](filestack/)
- [Github](github/)
Expand All @@ -51,8 +49,7 @@ $ sudo service telegraf start
- [Papertrail](papertrail/)
- [Particle](particle/)


### Adding new webhooks plugin
## Adding new webhooks plugin

1. Add your webhook plugin inside the `webhooks` folder
1. Your plugin must implement the `Webhook` interface
Expand Down
2 changes: 2 additions & 0 deletions plugins/inputs/webhooks/filestack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ See the [webhook doc](https://www.filestack.com/docs/webhooks).
All events for logs the original timestamp, the action and the id.

**Tags:**

* 'action' = `event.action` string

**Fields:**

* 'id' = `event.id` string
Loading

0 comments on commit 7d3531a

Please sign in to comment.