You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature type
Enhancement to Existing Feature
Logging
Feature Summary
Hi,
I'm using AAP and AWX for production and development enviroments , I have Logstash (formerly ELK) as the logging tool for have a log control.
I have used all the loggers that offer in the logging settings (as shown below) but when I want to get the logs from a Inventory Sync or a Ad-hoc command, not all the info that is shown in the IU or in API is shown in logs.
Example: I sync a source of a Azure dynamic invetory, the log sent from AAP to logstash have the information of the background paybook used default that is project_udpate.yml playbook that Ansible uses default. That is fine, the problem comes when there is no information shown of the actual debug of inventory, as an example in the IU I receive this info where it gets the groups and hosts or in case of error also as an example
21.385 INFO Processing JSON output...
21.388 INFO Loaded 13 groups, 13 hosts
21.578 INFO Inventory import completed for 12345567in 0.2s
ERROR
[WARNING]: * Failed to parse
/runner/project/azure/23456789.azure_rm.yml with
auto plugin: a batched request failed with status code 404, url /subscriptions/
23456789/providers/Microsoft.Compute/virtualMachine
So that debug info could be very useful to get it as an stdout send within the logs.
Main reason to do this is to be able to make dashboards of accounts with certain type of problem to get it more organized.
Hello @valkiriaaquatica,
Have you looked through our documentation regarding logging? If not, you can view that here You may be able to adjust the logs to suit your needs better.
Please let us know if that helps!
Hi @djyasin ,
thanks for the repy.
I've tried with te options show in the documentation and with different Logging Aggregator Level Threshold but I no log from inventory_update was sent.
In the latest documentation is nothing show about inventory_updates.. but searching i found on https://docs.ansible.com/ansible-tower/3.3.5/html/administration/logging.html old AWX version that was job_status , I've tried but still do not work (probably because after that version job_status was deprecated).
Please confirm the following
Feature type
Enhancement to Existing Feature
Logging
Feature Summary
Hi,
I'm using AAP and AWX for production and development enviroments , I have Logstash (formerly ELK) as the logging tool for have a log control.
I have used all the loggers that offer in the logging settings (as shown below) but when I want to get the logs from a Inventory Sync or a Ad-hoc command, not all the info that is shown in the IU or in API is shown in logs.
Example: I sync a source of a Azure dynamic invetory, the log sent from AAP to logstash have the information of the background paybook used default that is project_udpate.yml playbook that Ansible uses default. That is fine, the problem comes when there is no information shown of the actual debug of inventory, as an example in the IU I receive this info where it gets the groups and hosts or in case of error also as an example
ERROR
So that debug info could be very useful to get it as an stdout send within the logs.
Main reason to do this is to be able to make dashboards of accounts with certain type of problem to get it more organized.
Select the relevant components
Steps to reproduce
Current results
No logs of inventory debug are sent within the logs.
Sugested feature result
Add a new object in the Json or a new dict value like "stdout" where all the debug is collected so it can be analyzed after.
Additional information
No response
The text was updated successfully, but these errors were encountered: