Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate logs #83

Open
martinsson opened this issue Apr 27, 2021 · 0 comments
Open

Duplicate logs #83

martinsson opened this issue Apr 27, 2021 · 0 comments

Comments

@martinsson
Copy link

Our config duplicates logs. We get the multi-line stacktraces in a single element but we also get the raw lines. We suspect that our config duplicates it but we don't know what would be the correct configuration of this plugin to avoid them.

In the example config there is no "catch-all" directive as in our second match directive below. Is this the one posing a problem? Can we do without it?

    <label @DISPATCH>
      <match kubernetes.**>
        @type detect_exceptions
        remove_tag_prefix kubernetes
        multiline_flush_interval 0.2
      </match>

      <match **>
        @type relabel
        @label @OUTPUT
      </match>
    </label>
    <label @OUTPUT>
      <match **>
        @type elasticsearch
        host "elasticsearch-master"
        port 9200
        path ""
        user elastic
        password changeme
      </match>
    </label>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant