# Access logs questions

**URL:** <https://community.traefik.io/t/access-logs-questions/19489>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [August 11, 2023, 1:06pm UTC](https://community.traefik.io/t/access-logs-questions/19489 "2023-08-11T13:06:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjg23](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jjg23](https://community.traefik.io/u/jjg23)\
**Post date:** [August 11, 2023, 1:06pm UTC](https://community.traefik.io/t/access-logs-questions/19489/1 "2023-08-11T13:06:07Z")

</div>

I'm deploying Traefik v2 to Kubernetes (EKS) via Helm and I understand how to enable access logs. I have two questions, though I'm afraid the answer to both may be that "it's not possible":

1. Is it possible to filter out /ping and /metrics endpoints? We're using CloudWatch for logs, so there's a real monetary cost in aggregating these logs, but not a lot of value. I saw this open issue: [Filtering out ping access logs · Issue #6861 · traefik/traefik · GitHub](https://github.com/traefik/traefik/issues/6861) so I don't have a lot of hope that this is possible from Traefik. Perhaps it's possible to filter these out in the fluent-bit log collector?

2. Is there any way to enable access logs on only specific IngressRoute resources? This could ultimately solve #1 as well.

Thanks for any ideas!

---

<div class="post-metadata">

**Author:** ![jjg23](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jjg23](https://community.traefik.io/u/jjg23)\
**Post date:** [August 11, 2023, 2:02pm UTC](https://community.traefik.io/t/access-logs-questions/19489/2 "2023-08-11T14:02:53Z")

</div>

I'm able to filter out /ping and /metrics via our log aggregator (fluent-bit) with the following filters:

```
[FILTER]
    Name grep
    Match *
    Exclude log /(.*)\/ping(.*)/
[FILTER]
    Name grep
    Match *
    Exclude log /(.*)\/metrics(.*)/

```
