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

filter_modify complains on map size #1447

Closed
fragtom opened this issue Jul 18, 2019 · 2 comments
Closed

filter_modify complains on map size #1447

fragtom opened this issue Jul 18, 2019 · 2 comments

Comments

@fragtom
Copy link

fragtom commented Jul 18, 2019

Bug Report

** filter_modify complains about map size**
Looking for reason occuring warning of input map size, output map size

To Reproduce

configuration of fluent-bit


    [FILTER]
      Name                kubernetes
      Match               bunyan.*
      Kube_URL            https://kubernetes.default.svc:443
      Kube_Tag_Prefix     kube.var.log.containers.
      Merge_Log           On
      Merge_Log_Trim      On
      Keep_Log            Off
      K8S-Logging.Parser  On
      K8S-Logging.Exclude Off

    [FILTER]
      Name                modify
      Match               bunyan.*
      Add                 processed flb_bunyan

    [FILTER]
      Name                modify
      Match               cs.*
      Add                 processed flb_cs

    [FILTER]
      Name                grep    
      Match               bunyan.*
      Exclude             msg ^TTL
      Exclude             handler ^parseCookies

log message

[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [filter_modify] Input map size 2 elements, output map size 3 elements
[2019/07/18 13:22:03] [debug] [in_tail] file=/var/log/containers/api-5dd77c45f5-zgr48_kleptomaniacal-kouprey_api-e29e874144bf6ac8701dd62630ae2c4d3b30548bfa7d15e24cd75e9cb24a1ccf.log read=32767 lines=124
...
  • Steps to reproduce the problem:

Expected behavior

Screenshots

Your Environment

  • Version used: 1.2.1
  • Configuration: docker, kubernetes
  • Environment name and version (e.g. Kubernetes? What version?):
  • Server type and version: ec2 instance
  • Operating System and version: CoreOS
  • Filters and plugins: json, docker

Additional context

@fragtom fragtom changed the title filter_modify compains about map size filter_modify complains on map size Jul 18, 2019
@nokute78
Copy link
Collaborator

@fragtom Hi.
The message is not warning, just debug message.
It means filter_modify appends processed:flb_bunyan or processed:flb_cs.

If you want to suppress , would you change Log_Level configuration ?

@fragtom
Copy link
Author

fragtom commented Jul 21, 2019 via email

@fragtom fragtom closed this as completed Jul 21, 2019
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

2 participants