Skip to content

No support for format #51

Open
Open
@saadqc

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.

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