Installation AWX on Kubernetes with version 10.0.0.
Getting the error while integrating with the Logstash (screenshot is attached below).
Hi Team
Can anyone please help me for getting the logs while integrating with the logstash.
This is going to be highly dependent on how you’ve setup your ELK stack, but as a boilerplate, this logstash.conf example should get you started:
cat /etc/logstash/conf.d/logstash.conf
input {
http {
port => 5055
codec => “json”
}
}
filter {
mutate {
remove_field => [ “[headers]” ]
}
}
output {
elasticsearch {
hosts => [“http://192.168.0.4:9200”]
index => “aap-logs-%{+YYYY.MM.dd}”
manage_template => false
#stdout { codec => rubydebug }
}
file {
path => “/var/log/logstash/aap.log”
}
}
Input defines what we’ll listen on, and will match our Tower setup.
Filter/mutate removes the HTTP headers which is just overhead we don’t need.
Output is what we send to, so the Elastic DB, with a daily based logging index.
File can be used here for further debugging, if required.
In AWX setup Settings->system->logging to match the above.
Once saved, try the “TEST” button whilst logstash is running and tail -f /var/log/logstash/logstash-plain.log
If it’s working, then it shouldn’t throw any errors. Go to Kibana etc and you should see the Test message in your data
Phil.
it is not working.
i changed the logstash.conf
i am getting the same error while trying to get the logs even after making changes in logstash.conf
well sorry but replying with “it is not working” and not supplying any further info isn’t exactly helping anyone help you!
Hi Team
I have applied the Logstash.conf file in my Logstash.conf which i got reply for my Quarry.I had attached the screenshot below.
and I have done setup for AWX Settings->system->logging to match the conf file,
I filled all the required fields in logging and I testted it i got the same error has it is attached in the screenshot.
Is there any other way for getting the logs while integrating with the logstash.
i tried to configure that logstash.conf but it is not running and ignoring the pipeline.yml
screenshot is attached below.
Can anyone please help me
Hi team
Can anyone please help me for getting the logs while integrating with the logstash in AWX application.
Thanks in advance.