File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ It adds the following features:
9
9
* Asynchronous transport of log events
10
10
* Store log events temporarily in a cache until transport
11
11
to the Logstash server has been successful
12
- * Transport of events via TCP, UDP the Beats protocol
12
+ * Transport of events via TCP, UDP and the Beats protocol
13
13
* TCP transport optionally SSL-encrypted
14
14
* Special formatter ready to be used in Django projects
15
15
* Special formatter ready to be used in Flask projects
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ Options for configuring the log handler
28
28
To use an in-memory cache instead of a SQLite database,
29
29
simply pass ``None ``. See :doc: `persistence ` for details.
30
30
31
+ This setting is only relevant for `AsynchronousLogstashHandler `.
32
+
31
33
.. note ::
32
34
Using multiple instances of `AsynchronousLogstashHandler ` with
33
35
different `database_path ` settings won't work because there is only one
@@ -136,6 +138,8 @@ Options for configuring the log handler
136
138
If a message is beyond it's TTL, it will be deleted from the cache
137
139
and will not be published to logstash.
138
140
141
+ This setting is only relevant for `AsynchronousLogstashHandler `.
142
+
139
143
*Type *: ``integer ``
140
144
141
145
*Default *: None
Original file line number Diff line number Diff line change 2
2
-----
3
3
4
4
`AsynchronousLogstashHandler ` is a custom logging handler which
5
- sends Logstash messages using UDP and TCP. (`SynchronousLogstashHandler ` is
6
- a synchronous alternative) For example:
5
+ sends Logstash messages using UDP and TCP.
6
+ Use `SynchronousLogstashHandler ` for a synchronous alternative.
7
+
8
+ For example:
7
9
8
10
.. code-block :: python
9
11
@@ -69,6 +71,7 @@ configured extra prefix, e.g.:
69
71
70
72
Usage with HttpTransport
71
73
========================
74
+
72
75
The `AsynchronousLogstashHandler ` and `SynchronousLogstashHandler ` support also
73
76
the logstash `http input plugin <https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html >`_.
74
77
You can’t perform that action at this time.
0 commit comments