From 23523ffd10bac33b0e40bad98bee4213049109ff Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 21 Jun 2018 18:02:34 -0700 Subject: [PATCH] Document path tag in tail input --- plugins/inputs/tail/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/inputs/tail/README.md b/plugins/inputs/tail/README.md index 5d7253649..27cb6418e 100644 --- a/plugins/inputs/tail/README.md +++ b/plugins/inputs/tail/README.md @@ -1,4 +1,4 @@ -# tail Input Plugin +# Tail Input Plugin The tail plugin "tails" a logfile and parses each log message. @@ -49,3 +49,7 @@ The plugin expects messages in one of the data_format = "influx" ``` +### Metrics: + +Metrics are produced according to the `data_format` option. Additionally a +tag labeled `path` is added to the metric containing the filename being tailed.