fluent / fluent/fluent-logger-python

Fluent send via UDP

Aperta
#75 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
457
Fork
138
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi folks

I've tried to send logs to fluentd with this code
`from fluent import sender
logger = sender.FluentSender('app', host='127.0.0.1', port=24224)
logger.emit('test', {'from': 'localhost', 'to': 'fluentd'})
logger.close()
`

And success!
Now, do you have idea to send that via udp?
If it's already the feature, please write it on readme.md. I think I'm not only one who wants to send logs via UDP.

Thank you!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.