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

Drop function is not working in promtail configuration #204

Open
shreymarkandey-materialplus opened this issue Feb 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@shreymarkandey-materialplus
promtail:
  enabled: true
  #
  # Enable Promtail service monitoring
  # serviceMonitor:
  #   enabled: true
  #
  # User defined pipeline stages
  pipelineStages:
    - docker: {}
    - drop:
        source: namespace
        expression: "kube-.*"

Updating it still kube-system logs are showing in loki & if I replace it with any other NS then also loki is showing it
Bascially when we apply this configuration its not getting updated inside promtail container

@shreymarkandey-materialplus shreymarkandey-materialplus added the bug Something isn't working label Feb 9, 2023
@jizusun
Copy link

jizusun commented Mar 30, 2023

I fixed the problem with the help here: https://stackoverflow.com/a/75472714

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants