# Filebeat unable to recognize the colorful file content

**URL:** <https://discuss.elastic.co/t/filebeat-unable-to-recognize-the-colorful-file-content/305921>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 30, 2022, 9:05am UTC](https://discuss.elastic.co/t/filebeat-unable-to-recognize-the-colorful-file-content/305921 "2022-05-30T09:05:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujeetkp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sujeetkp/32/100806_2.png) [@sujeetkp](https://discuss.elastic.co/u/sujeetkp)\
**Post date:** [May 30, 2022, 9:05am UTC](https://discuss.elastic.co/t/filebeat-unable-to-recognize-the-colorful-file-content/305921/1 "2022-05-30T09:05:11Z")

</div>

I am trying to read a log file using filebeat. The log file looks as below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/8/78a8aa5dc862c8ed1c73e2078a616d72cf7c7eb9.png)

When filebeat reads it, it is displaying some special characters as below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e6479fd4f01762a21caf97670c60df250bcd2ae2.png)

Looks like filebeat is not able to recognize/ignore the color sceheme.  
Is there a way to let filebeat know to skip the color coding ?

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [May 30, 2022, 2:54pm UTC](https://discuss.elastic.co/t/filebeat-unable-to-recognize-the-colorful-file-content/305921/2 "2022-05-30T14:54:29Z")

</div>

Hi,

usually, you're configuring the application not to produce colored logs (TTY disabled). Did you try that approach?

---

<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:** [June 27, 2022, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-unable-to-recognize-the-colorful-file-content/305921/3 "2022-06-27T16:55:14Z")

</div>

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