From d0e75a3e880aa6efb44b58b49540c17860d24bab Mon Sep 17 00:00:00 2001 From: Robison Jacka Date: Mon, 15 Aug 2016 10:56:28 -0700 Subject: [PATCH] Correct type for rescan_interval in docs --- docs/source/config/inputs/logstreamer.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/source/config/inputs/logstreamer.rst b/docs/source/config/inputs/logstreamer.rst index e0267862c..ebc1288a8 100644 --- a/docs/source/config/inputs/logstreamer.rst +++ b/docs/source/config/inputs/logstreamer.rst @@ -32,11 +32,12 @@ Config: should be suitably restricted to the most specific directory this selection of logfiles will be matched under. The log_directory path will be prepended to the file_match. -- rescan_interval (int): +- rescan_interval (string): During logfile rotation, or if the logfile is not originally present on the system, this interval is how often the existence of the logfile will be checked for. The default of 5 seconds is - usually fine. This interval is in milliseconds. + usually fine. This interval is a time duration string + (e.x. "2s", "2m", "2h"). - file_match (string): Regular expression used to match files located under the ``log_directory``. This regular expression has ``$`` added to the end