Skip to content

Commit afc4d6b

Browse files
authored
Example remote ElasticsearchLogstashHandler
1 parent eeadfde commit afc4d6b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

logging/handlers.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ To use it, declare it as a service:
2525
# config/services.yaml
2626
services:
2727
Symfony\Bridge\Monolog\Handler\ElasticsearchLogstashHandler: ~
28+
# If you don't want to run it locally you need to specify the following variables
29+
# arguments:
30+
# $endpoint: "http://127.0.0.1:9200"
31+
# $index: "monolog"
32+
# $client: null
33+
# $level: Logger::DEBUG
34+
# $bubble: true
2835
2936
.. code-block:: xml
3037

0 commit comments

Comments
 (0)