# Filebeat service is failing again and again

**URL:** https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642
**Category:** Beats
**Tags:** filebeat, metricbeat
**Created:** [July 5, 2023, 8:48am UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642 "2023-07-05T08:48:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kanika\_Gola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kanika_gola/32/123035_2.png) [@Kanika\_Gola](https://discuss.elastic.co/u/Kanika_Gola)
#### Post date: [July 5, 2023, 8:48am UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642/1 "2023-07-05T08:48:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [July 5, 2023, 1:36pm UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642/2 "2023-07-05T13:36:38Z")

</div>

Hello,

Do you have any filebeat logs? If so you need to share.

Also, since the systemd service is failing you need to look at the system log, look at `/var/log/syslog` for any hint of why filebeat is failing.

I recommend trying to start filebet again to get fresh logs.

---

<div class="post-metadata">

### Author: ![Kanika\_Gola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kanika_gola/32/123035_2.png) [@Kanika\_Gola](https://discuss.elastic.co/u/Kanika_Gola)
#### Post date: [July 6, 2023, 10:53am UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642/3 "2023-07-06T10:53:07Z")

</div>

> [@leandrojmp](#):
>
> /var/log/syslog

Tons of logs came when I did `cat /var/log/syslog` so I am not able to understand whats the error. But when I do `filebeat run` I get these logs:

`Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /home/ubuntu/filebeat-7.17.2-linux-x86_64/kibana: Failed to import dashboard: Failed to load directory /home/ubuntu/filebeat-7.17.2-linux-x86_64/kibana/7/dashboard: error loading /home/ubuntu/filebeat-7.17.2-linux-x86_64/kibana/7/dashboard/046212a0-a2a1-11e7-928f-5dbe6f6f5519-ecs.json: returned 400 to import file: <nil>. Response: {"statusCode":400,"error":"Bad Request","message":"[request body.objects]: expected value of type [array] but got [undefined]"} error loading /home/ubuntu/filebeat-7.17.2-linux-x86_64/kibana/7/dashboard/0b3dba40-f341-11ea-a3fd-1b45ec532bb3.json: returned 400 to import file: <nil>. Response: {"statusCode":400,"error":"Bad Request","message":"[request body.objects]: expected value of type [array] but got [undefined]"} error loading /home/ubuntu/filebeat-7.17.2-linux-x86_64/kibana/7/dashboard/0d3f2380-fa78-11e6-ae9b-81e5311e8cab-ecs.json: returned 400 to import file: <ni`

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [July 12, 2023, 5:33pm UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642/4 "2023-07-12T17:33:47Z")

</div>

Do you have permissions on 046212a0-a2a1-11e7-928f-5dbe6f6f5519-ecs.json?  
Is this a customized dashboard perhaps from newer version?

---

<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: [August 9, 2023, 7:34pm UTC](https://discuss.elastic.co/t/filebeat-service-is-failing-again-and-again/337642/5 "2023-08-09T19:34:27Z")

</div>

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