Skip to content

logstash server restart handling #58

@svenresch

Description

@svenresch

What should be done from a python client when a Logstash server is restarted?

I'm running a Logstash v2.3.4 container on my local post via a docker image found on docker hub. https://hub.docker.com/_/logstash/

logstash.conf

input {
  tcp {
    port => 5000
    codec => json
  }
}
output {
  stdout {
    codec => rubydebug
  }
}

I'm also running a Flask app on my localhost with python-logstash connecting via TCP.

When I restart the container that is running Logstash I no longer see logged messages being displayed to stdout until I restart my Flask server. If anyone can help illuminate what should be done here, or else point me in the right direction, then that would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions