From 4a78e73b49e2a24aa4b4839611252f5775054500 Mon Sep 17 00:00:00 2001 From: James Fryman Date: Wed, 9 Sep 2015 11:01:18 -0500 Subject: [PATCH] Add example to file_watch_sensor This commit adds an example of how to consume the `file_watch_sensor` in the `config.yaml` for the Pack. --- contrib/linux/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/linux/README.md b/contrib/linux/README.md index 9e61d6f9be..c34bbc2b47 100644 --- a/contrib/linux/README.md +++ b/contrib/linux/README.md @@ -9,6 +9,15 @@ This pack contains actions for commonly used Linux commands and tools. and not directories (files don't need to exist yet when the sensor is ran though). +Example: + +```yaml +--- +file_watch_sensor: + file_paths: + - /opt/data/absolute_path_to_file.log +``` + ## Sensors ### FileWatchSensor