use an environment variable to determine which application's logs to collect #20722
Closed
loveyang2012
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
There are a few options available on the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a Kubernetes environment, there are many application logs, and it seems that Vector collects all of them. However, I only want to collect the logs of my own application. Can I use an environment variable to determine which application's logs to collect? For example, when I start an Nginx application, I configure an environment variable during startup, and Vector detects this environment variable to collect Nginx logs.
Beta Was this translation helpful? Give feedback.
All reactions