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

Add ability to set log processing stages per loki destination #1182

Closed
petewall opened this issue Jan 29, 2025 · 0 comments · Fixed by #1186
Closed

Add ability to set log processing stages per loki destination #1182

petewall opened this issue Jan 29, 2025 · 0 comments · Fixed by #1186
Assignees

Comments

@petewall
Copy link
Collaborator

This would mean that multiple destinations could be set, each with different rules. I would imagine the primary use would be drop/keep rules:

destinations:
- name: localLoki
  type: loki
  url: loki.default.svc
- name: remoteLoki
  type: loki
  url: remote-loki.example.com
  extraLogProcessingStages: |
    stage.drop {
      expression = ".*debug.*"
    }

In this case, all logs go to localLoki, but only non-debug logs are shipped offsite to remoteLoki

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

Successfully merging a pull request may close this issue.

1 participant