Skip to content

No support for format #51

Description

@saadqc

I have a custom method to return logstash format. Although initializing it doesn't seem to work.

handler = CMRESHandler(hosts=[{'host': 'localhost', 'port': 9200}],
                               auth_type=CMRESHandler.AuthType.NO_AUTH,
                               es_index_name="my_logs")
handler.setFormatter(LogstashFormatterVersion1())

I noticed in emit method in handlers.py self.format(record) is being called but return dict is not stored anywhere.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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