V
V
Viktor Paperno2021-06-30 12:37:50
Django
Viktor Paperno, 2021-06-30 12:37:50

How to connect to multiple logstash nodes in Django?

I am using the python-logstash library.

I connected it in settings.py in handlers (via HOST / PORT) as in the examples for lib, everything works.

The question is how to connect multiple HOST/PORT pairs? I didn't find it in the documentation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
akelsey, 2021-06-30
@akelsey

I dare to guess, probably not (but this is not certain), and probably if there is more than one node, it is supposed to use Load Balancer or at least DNS Round Robin?

V
Vadim, 2021-06-30
@Viji

maybe you will place the nodes behind some kind of load balancer, maybe from the logstash itself?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question