Is it possible to log actions of the logstash file plugin? (i.e. what files it tries to send, what errors happen, etc)
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- convert logback.xml to log4j.properties
- Django management command doesn't show logging
- apache modules ap_log_perror is at a different lev
相关文章
- how do I log requests and responses for debugging
- Android Studio doesn't display logs by package
- Stacktrace does not print in Glassfish 4.1 Cluster
- Out of curiosity — why don't logging APIs impl
- Laravel log file based on date
- Java -How to get logger to work in shutdown hook?
- Codeigniter not logging
- Is there any way to remove the information line fr
In new version stdout format changed
If you want to debug the process itself you may run it like this
UPDATE: Acording to @neeraj-gupta using --debug and --verbose at the same time may cause a problem when trying to see debug logs of cloudwatch and using only --debug is enough.
Yes, you can see what files it tries to send, what errors happening through the output section by applying
stdout { codec => rubydebug }
Codec is responsible for giving output. So,here it outputs your event data using the ruby "awesome_print" library.
* * * This method of debugging is now deprecated - see Max's answer above! * * *
Try adding a stdout output with debug set to true. You should be able to see the entire event object and errors / warnings in your logstash --log or stdout.
Hope that helps!