# Logging: How to set selectors correctly

**URL:** <https://discuss.elastic.co/t/logging-how-to-set-selectors-correctly/329341>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 4, 2023, 3:14pm UTC](https://discuss.elastic.co/t/logging-how-to-set-selectors-correctly/329341 "2023-04-04T15:14:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [April 4, 2023, 3:14pm UTC](https://discuss.elastic.co/t/logging-how-to-set-selectors-correctly/329341/1 "2023-04-04T15:14:57Z")

</div>

Hi I need to debug some filebeat issues in one of our testsystems.

I want to set loglevel to debug and I need help for setting the selectors correctly.

I need to have all the logs which are related to registry, harvesting and maybe publishing stuff, but I do not want to have the log message in the logs. That is filling up logs way to fast if logs are processed. I have to deal with (very) slow / sometimes never starting harvesting.

Could you please assist?

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2023, 5:15pm UTC](https://discuss.elastic.co/t/logging-how-to-set-selectors-correctly/329341/2 "2023-05-02T17:15:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
