Skip to content

Elasticsearch backend for logstash not being updated correctly #11

@andrew-wharton

Description

@andrew-wharton

Looking at logstash/containerpilot.json...

The onStart.sh script, when called by the onChange handler for the elasticsearch backend in logstash/containerpilot.json, doesn't appear to update logstash.conf correctly.

There are 2 reasons for this.

  1. I think the backend should be the elasticsearch-master service instead of the elasticsearch service.
  2. Once the 'elasticsearch' string has been replaced in logstash.conf with an IP address, the replacement in onStart.sh script no longer works, since it looks for the 'elasticsearch' string which is no longer there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions