# LogLevel DEBUG and INFO not required

**URL:** <https://discuss.elastic.co/t/loglevel-debug-and-info-not-required/257484>\
**Category:** Elasticsearch\
**Created:** [December 3, 2020, 10:07am UTC](https://discuss.elastic.co/t/loglevel-debug-and-info-not-required/257484 "2020-12-03T10:07:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfoot](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dfoot](https://discuss.elastic.co/u/dfoot)\
**Post date:** [December 3, 2020, 10:07am UTC](https://discuss.elastic.co/t/loglevel-debug-and-info-not-required/257484/1 "2020-12-03T10:07:27Z")

</div>

We do not need DEBUG and INFO logs coming into ELK but only for one or more components e.g. hostname and index name.

From below link add exclude\_lines for DEBUG and INFO - Exclude\_lines: [‘^DEBUG’, ‘^INFO’] but to include some of hostname and index name which I think I need add include\_lines: ['^hostname', '^indexname'] on filebeat.yml

> **[Log input | Filebeat Reference \[7.10\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html)**

Can some confirm and advice please.  
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:** [December 31, 2020, 10:07am UTC](https://discuss.elastic.co/t/loglevel-debug-and-info-not-required/257484/2 "2020-12-31T10:07:47Z")

</div>

Closed on December 31, 2020, 10:07am UTC

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