# Processors - Policy - How to use to filter fields

**URL:** <https://discuss.elastic.co/t/processors-policy-how-to-use-to-filter-fields/305467>\
**Category:** Elastic Observability\
**Created:** [May 24, 2022, 7:55am UTC](https://discuss.elastic.co/t/processors-policy-how-to-use-to-filter-fields/305467 "2022-05-24T07:55:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgfeal](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mgfeal](https://discuss.elastic.co/u/mgfeal)\
**Post date:** [May 24, 2022, 7:55am UTC](https://discuss.elastic.co/t/processors-policy-how-to-use-to-filter-fields/305467/1 "2022-05-24T07:55:43Z")

</div>

Hi,

We are using some Elastic integrations to get logs and metrics to our Elastic Cloud deployment. But there are a lot of fields that we are not using. Right now we collect the complete log files, but we are looking at the documentation about the Processors option and we have the doubt if it is possible to put that only certain logs are collected. Or on the contrary, that certain logs are not collected.

![elastic_processors_01](https://us1.discourse-cdn.com/elastic/original/3X/4/1/41401bc13bc7f681ec5d958b9e1e17ae3e9319c9.jpeg)

> **[Filter and enhance data with processors | Filebeat Reference \[8.2\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html)**

For example, that some of these fields are not collected.

 ![elastic_processors_02](https://us1.discourse-cdn.com/elastic/original/3X/6/7/678927e3bbd0d20b50bb8dba1b9481a977b6f6b4.jpeg)

Thanks,

---

<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:** [November 4, 2022, 8:35am UTC](https://discuss.elastic.co/t/processors-policy-how-to-use-to-filter-fields/305467/2 "2022-11-04T08:35:38Z")

</div>


