![]() |
VOOZH | about |
Logs
This processor samples your logging traffic for a representative subset at the rate that you define, dropping the remaining logs. As an example, you can use this processor to sample 20% of logs from a noisy non-critical service.
The sampling only applies to logs that match your filter query and does not impact other logs. If a log is dropped at this processor, none of the processors below receives that log.
To set up the sample processor:
2 means 2% of logs are retained out of all the logs that match the filter query.status:error and status:info are two unique field values. Each bucket of events with the same field is sampled independently. Click Add Field if you want to add more fields to partition by. See the group-by example.If you have the following setup for the sample processor:
env:staging40% of matching logsstatus and serviceThen, 40% of logs for each unique combination of status and service from env:staging is retained. For example:
status:info and service:networks are retained.status:info and service:core-web are retained.status:error and service:networks are retained.status:error and service:core-web are retained. | |