We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 59b8cc0 + 9c43316 commit ffba3b6Copy full SHA for ffba3b6
1 file changed
README.rst
@@ -125,14 +125,14 @@ Modify your ``settings.py`` to integrate ``python-logstash`` with Django's loggi
125
...
126
}
127
128
-Note
129
-====
+Example Logstash Configuration
+==============================
130
131
Example Logstash Configuration (``logstash.conf``) for Receiving Events from python-logstash is::
132
133
input {
134
- tcp {
135
- port => 5000
+ udp {
+ port => 5959
136
codec => json
137
138
@@ -141,3 +141,5 @@ Example Logstash Configuration (``logstash.conf``) for Receiving Events from pyt
141
codec => rubydebug
142
143
144
+
145
+For TCP input you need to change the logstash's input to ``tcp`` and modify django log handler's class to ``logstash.TCPLogstashHandler``
0 commit comments