Skip to content

Commit 42a46ab

Browse files
committed
fixes:39
1 parent 5e042bb commit 42a46ab

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.rst

+9-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,15 @@ To test, just execute the python tests within the test folder
164164
Why using an appender rather than logstash or beats
165165
---------------------------------------------------
166166
In some cases is quite useful to provide all the information available within the LogRecords as it contains
167-
things such as exception information, the method, file, log line where the log was generated. All this can be
168-
also done from logstash configuration, but it still requires to provide quite a lot of context to
167+
things such as exception information, the method, file, log line where the log was generated.
168+
169+
If you are interested on understanding more about the differences between the agent vs handler
170+
approach, I'd suggest reading [this conversation thread](https://github.com/cmanaha/python-elasticsearch-logger/issues/44).
171+
172+
The same functionality can be implemented in many other different ways. For example, consider the integration
173+
using [SysLogHandler](https://docs.python.org/3/library/logging.handlers.html#sysloghandler) and
174+
[logstash syslog plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-syslog.html).
175+
169176

170177
Contributing back
171178
-----------------

0 commit comments

Comments
 (0)