Enable DEBUG logging on logstash

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 2.4.0

Describe the issue: How can I enable DEBUG logging with logstash ? Using the docker image from opensearchproject/logstash-oss-with-opensearch-output-plugin - Docker Image | Docker Hub

Configuration:

Relevant Logs or Screenshots:

You should be able to do this through the API, like:

curl -XPUT 'localhost:9600/_node/logging?pretty' -H 'Content-Type: application/json' -d'
{
    "logger.agent" : "DEBUG"
}'

Assuming you’ve forwarded the 9600 port. More details here: Logging | Logstash Reference [7.10] | Elastic

1 Like