AWX Logging to Logstash, debugging

374 views
Skip to first unread message

anthony...@actual-experience.com

unread,
Aug 21, 2018, 10:44:30 AM8/21/18
to AWX Project
Hello, I am on 1.0.7 is there anyway I can debug the connection between awx to logstash?

I have logging enabled and I don't see any logs reaching Logstash, I do however see the test connection. I have tailed the logs on the docker containers but nothing is jumping out to me right now.

Also is adding ssl options to this in the pipeline? We use Searchguard with Elasticsearch which is a ssl layer (Elasticsearch offer their own version of this too) so we will need a pay to pass a ca to ES in order to authenticate.

Christopher Meyers

unread,
Aug 21, 2018, 1:40:17 PM8/21/18
to anthony...@actual-experience.com, AWX Project
nc -l -k -p 9999
^^ You can use netcat and point tower at it to debug and see the log messages.

Registered Office: Actual Experience plc
Quay House, The Ambury, Bath BA1 1UA,
Registered No. 06838738, VAT No. 971 9696 56

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Although we routinely screen for viruses, addressees should check this e-mail and any attachment for viruses. We make no warranty as to absence of viruses in this e-mail or any attachments.


--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/dbda1e38-4884-4c94-a241-6e346f315a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

CHRIS MEYERS

SENIOR SOFTWARE ENGINEER, TOWERREWARD ZONE AMBASSADOR

Red Hat 

cme...@redhat.com   


Anthony Cleaves

unread,
Aug 21, 2018, 5:13:24 PM8/21/18
to cme...@redhat.com, awx-p...@googlegroups.com
Sometimes the simple things go walkies, thanks for that.
--
Anthony Cleaves
DevOps Engineer
Actual Experience PLC

anthony...@actual-experience.com

unread,
Aug 22, 2018, 5:19:47 AM8/22/18
to AWX Project
Looks like its being refused due to SSL. :(


On Tuesday, 21 August 2018 22:13:24 UTC+1, Anthony Cleaves wrote:
Sometimes the simple things go walkies, thanks for that.

On Tue, 21 Aug 2018 at 18:40, Christopher Meyers <cme...@redhat.com> wrote:
nc -l -k -p 9999
^^ You can use netcat and point tower at it to debug and see the log messages.

On Tue, Aug 21, 2018 at 10:44 AM <anthony.cleaves@actual-experience.com> wrote:
Hello, I am on 1.0.7 is there anyway I can debug the connection between awx to logstash?

I have logging enabled and I don't see any logs reaching Logstash, I do however see the test connection. I have tailed the logs on the docker containers but nothing is jumping out to me right now.

Also is adding ssl options to this in the pipeline? We use Searchguard with Elasticsearch which is a ssl layer (Elasticsearch offer their own version of this too) so we will need a pay to pass a ca to ES in order to authenticate.

Registered Office: Actual Experience plc
Quay House, The Ambury, Bath BA1 1UA,
Registered No. 06838738, VAT No. 971 9696 56

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Although we routinely screen for viruses, addressees should check this e-mail and any attachment for viruses. We make no warranty as to absence of viruses in this e-mail or any attachments.


--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.

To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/dbda1e38-4884-4c94-a241-6e346f315a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

CHRIS MEYERS

SENIOR SOFTWARE ENGINEER, TOWERREWARD ZONE AMBASSADOR

Red Hat 

cme...@redhat.com   


Christopher Meyers

unread,
Aug 22, 2018, 8:54:24 AM8/22/18
to AWX Project
So the netcat test worked but your production setup fails because the non-tower side expects SSL ?

On Wednesday, August 22, 2018 at 5:19:47 AM UTC-4, anthony...@actual-experience.com wrote:
Looks like its being refused due to SSL. :(

On Tuesday, 21 August 2018 22:13:24 UTC+1, Anthony Cleaves wrote:
Sometimes the simple things go walkies, thanks for that.

On Tue, 21 Aug 2018 at 18:40, Christopher Meyers <cme...@redhat.com> wrote:
nc -l -k -p 9999
^^ You can use netcat and point tower at it to debug and see the log messages.

On Tue, Aug 21, 2018 at 10:44 AM <anthony...@actual-experience.com> wrote:
Hello, I am on 1.0.7 is there anyway I can debug the connection between awx to logstash?

I have logging enabled and I don't see any logs reaching Logstash, I do however see the test connection. I have tailed the logs on the docker containers but nothing is jumping out to me right now.

Also is adding ssl options to this in the pipeline? We use Searchguard with Elasticsearch which is a ssl layer (Elasticsearch offer their own version of this too) so we will need a pay to pass a ca to ES in order to authenticate.

Registered Office: Actual Experience plc
Quay House, The Ambury, Bath BA1 1UA,
Registered No. 06838738, VAT No. 971 9696 56

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Although we routinely screen for viruses, addressees should check this e-mail and any attachment for viruses. We make no warranty as to absence of viruses in this e-mail or any attachments.


--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.

To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/dbda1e38-4884-4c94-a241-6e346f315a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

CHRIS MEYERS

SENIOR SOFTWARE ENGINEER, TOWERREWARD ZONE AMBASSADOR

Red Hat 

cme...@redhat.com   


Reply all
Reply to author
Forward
0 new messages