ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.89k stars 3.4k forks source link

RFE : send tower log to graylog without using logstash #1309

Open pravindmali opened 6 years ago

pravindmali commented 6 years ago
ISSUE TYPE
COMPONENT NAME
SUMMARY

Is it possible to e send tower log to graylog without using logstash ? Looks like its possible to pass tower log to gelf using payload, refer link : http://docs.graylog.org/en/2.4/pages/gelf.html which says with the help of payload any graylog-server node accepts and stores this as a message. So can this be candidate for RFE ?

ENVIRONMENT
wenottingham commented 6 years ago

That being said, another option would be to implement https://github.com/ansible/awx/issues/1083, and graylog could piggyback on that.

dano0b commented 6 years ago

GELF is superior, syslog limitations: Limited to length of 1024 bytes – Not much space for payloads like backtraces No data types in structured syslog. You don’t know what is a number and what is a string. The RFCs are strict enough but there are so many syslog dialects out there that you cannot possibly parse all of them. No compression

Especially a proper handling for multi-line output like backtraces would be awesome.

mihai-satmarean commented 3 years ago

Hello, as always a great product AWX and Ansible. we are trying to send the logs of AWX 18,19 to Graylog 4.0.6. There is not a document or a hint on how can it be done. Please explain if it is possible and how should it be realised. Thank you!

scatenag commented 2 years ago

+1