From 3a3ec5452cc2abd9847d5f8dbf4a174fc9f829d5 Mon Sep 17 00:00:00 2001 From: Shreyas Karnik Date: Thu, 13 Aug 2015 19:55:23 +0100 Subject: [PATCH 1/3] added example logstash config --- README.rst | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 85a95e2..cb95bed 100644 --- a/README.rst +++ b/README.rst @@ -92,7 +92,7 @@ For example:: except: test_logger.exception('python-logstash-logger: Exception with stack trace!') - + Using with Django ================= @@ -123,10 +123,25 @@ Modify your ``settings.py`` to integrate ``python-logstash`` with Django's loggi ... } +Note +==== +Example Logstash Configuration for Receiving Events from python-logstash is:: + input { + tcp { + port => 5000 + codec => json + } + } + output { + stdout { + codec => rubydebug + } + } + Contributors ------------ - Volodymyr Klochan - Kiall Mac Innes - Alexander Boyd - joel-wright - - Dale O'Brien \ No newline at end of file + - Dale O'Brien From d011cfe745c6642cf5e0774b6b076e75ff208aa6 Mon Sep 17 00:00:00 2001 From: Shreyas Karnik Date: Thu, 13 Aug 2015 19:57:34 +0100 Subject: [PATCH 2/3] formatting changes --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index cb95bed..1105efb 100644 --- a/README.rst +++ b/README.rst @@ -125,7 +125,8 @@ Modify your ``settings.py`` to integrate ``python-logstash`` with Django's loggi Note ==== -Example Logstash Configuration for Receiving Events from python-logstash is:: +Example Logstash Configuration (``logstash.conf``) for Receiving Events from python-logstash is:: + `` input { tcp { port => 5000 @@ -137,7 +138,7 @@ Example Logstash Configuration for Receiving Events from python-logstash is:: codec => rubydebug } } - +`` Contributors ------------ - Volodymyr Klochan From deffe4df3f5783a3d66814ff49186752565504f2 Mon Sep 17 00:00:00 2001 From: Shreyas Karnik Date: Thu, 13 Aug 2015 19:59:52 +0100 Subject: [PATCH 3/3] formatting changes --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 1105efb..2655e47 100644 --- a/README.rst +++ b/README.rst @@ -125,8 +125,9 @@ Modify your ``settings.py`` to integrate ``python-logstash`` with Django's loggi Note ==== + Example Logstash Configuration (``logstash.conf``) for Receiving Events from python-logstash is:: - `` + input { tcp { port => 5000 @@ -138,7 +139,7 @@ Example Logstash Configuration (``logstash.conf``) for Receiving Events from pyt codec => rubydebug } } -`` + Contributors ------------ - Volodymyr Klochan