# Elastic cloud and Java garbage collector

**URL:** <https://discuss.elastic.co/t/elastic-cloud-and-java-garbage-collector/366962>\
**Category:** Elasticsearch\
**Created:** [September 23, 2024, 12:57pm UTC](https://discuss.elastic.co/t/elastic-cloud-and-java-garbage-collector/366962 "2024-09-23T12:57:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joey\_Visbeen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joey_visbeen/32/134690_2.png) [@Joey\_Visbeen](https://discuss.elastic.co/u/Joey_Visbeen)\
**Post date:** [September 23, 2024, 12:57pm UTC](https://discuss.elastic.co/t/elastic-cloud-and-java-garbage-collector/366962/1 "2024-09-23T12:57:22Z")

</div>

Currently, I have a hosted deployment on the elastic cloud. Within this cluster, I store all the elastic cloud logs in a datastream. Now, I have run into the issue that there is too much garbage collector logs. I would like to filter the logs based on their log.level(warm,info,debug,trace).  
Any suggestion on how?
