Skip to content

Option to create logs in JSON only #35

@ashprojects

Description

@ashprojects

We are heavily relying on monstache in our production ECS container. We have alerts on logs generated by monstache, but currently it generates in following format:
ERROR 2023/08/31 13:41:00 Bulk response item: { "_index": "REDACTED", "_id": "REDACTED", "_version": REDACTED, "result": "not_found", "_shards": { "total": 2, "successful": 2, "failed": 0,"status": 4041}}

Can there be a feature to print this in JSON format instead of human readable string, so that we can filter this log stream and create / consume log events.

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