# Filebeat shows unexpected error while setup

**URL:** <https://discuss.elastic.co/t/filebeat-shows-unexpected-error-while-setup/282203>\
**Category:** Beats\
**Tags:** beats-module, filebeat\
**Created:** [August 23, 2021, 8:58am UTC](https://discuss.elastic.co/t/filebeat-shows-unexpected-error-while-setup/282203 "2021-08-23T08:58:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubh\_Garg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubh_garg/32/91716_2.png) [@Shubh\_Garg](https://discuss.elastic.co/u/Shubh_Garg)\
**Post date:** [August 23, 2021, 8:58am UTC](https://discuss.elastic.co/t/filebeat-shows-unexpected-error-while-setup/282203/1 "2021-08-23T08:58:50Z")

</div>

I get the following error while running the command `sudo filebeat setup` on my centos7 linux ec2 instance.  
I have two modules nginx and System enabled.

 ![error](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1bd564986645f782cdbf7a99119c659e6a7e88d4.png)

The error above only comes when i enable the system module. The nginx module works absolutely fine and i can load the dashboard as well.  
I have not changed the default system module config since all the default system logs are being used.

What wrong am i doing?

---

<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:** [September 20, 2021, 10:59am UTC](https://discuss.elastic.co/t/filebeat-shows-unexpected-error-while-setup/282203/2 "2021-09-20T10:59:32Z")

</div>

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