From 89b6dfccb50b7a14fb75e53f064445707d86205e Mon Sep 17 00:00:00 2001 From: godog <godog@autistici.org> Date: Thu, 28 Jan 2016 13:41:49 +0000 Subject: [PATCH] docs fixes --- docs/documentation.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/documentation.rst b/docs/documentation.rst index 5d096ee..39f5342 100644 --- a/docs/documentation.rst +++ b/docs/documentation.rst @@ -52,7 +52,7 @@ Install From Source 1. Clone the Lens repository:: - $ git clone http://git.autistici.org/lens2.git + $ git clone https://git.autistici.org/ai/lens2.git 2. Run the ``setup.py`` installation script:: @@ -148,10 +148,11 @@ Integration With Elasticsearch ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Some maintenance tasks on the Elasticsearch cluster will be -required. For instance, Lens periodically removes old logs from the -index; unless the Elasticsearch index is optimized once in a while, it -will grow unbounded. +Some maintenance tasks on the Elasticsearch cluster will be required. For +instance, Lens periodically removes old logs from the index; unless the +Elasticsearch index is optimized once in a while, it will grow unbounded. Logs +are sharded into per-day indices which will need to be periodically expired +using `lens2 expire` command. @@ -169,7 +170,7 @@ assignments. Besides various possible Flask configuration options, the only variable that Lens needs is ``ES_SERVER``, which should contain either a string with the ``HOST:PORT`` address of the ES server, or a list of them (the Python ES client library will perform automatic -server failover in this case). +server failover/load balancing in this case). The deployment strategy will vary depending on your web server environment: check out the `Flask deployment documentation`_ for the @@ -211,7 +212,7 @@ substituted for the placeholder variable by using the A *pattern file* simply contains a list of such patterns, one by row. Empty lines are ignored, and lines starting with ``#`` are considered comments. Pattern files are searched for by default in -``/etc/lens/patterns.d``, using *run-dir* semantics (file names +``/etc/lens/patterns.d``, using *run-parts* semantics (file names containing dots are ignored). -- GitLab