splunk / sck-otel

Apache License 2.0
9 stars 5 forks source link

Enable Exclusive Filtering #68

Open jwimmersplk opened 3 years ago

jwimmersplk commented 3 years ago

Is your feature request related to a problem? Please describe. Customers would want to role out SCK-Otel and ingest logs in a much more controlled fashion. They want to be able to specify specific pods to ingest from but currently that is difficult because the typical setup is to ingest everything and annotate specific pods to filter out.

Describe the solution you'd like Using annotations and an exclusive filter flag would allow customers to specify which pod to ingest from.
Similiar to the splunk.com/exclude annotation, we could have an splunk.com/include that be accepted if the user were to specify exclusive_filtering: true in values.yaml

Describe alternatives you've considered Could also have the paths accept an array but this isn't flexible enough as customers would want to allow developers to control their applications ingestion