# Filebeat - apport.log: permission denied

**URL:** <https://discuss.elastic.co/t/filebeat-apport-log-permission-denied/263048>\
**Category:** Elastic Training\
**Created:** [February 2, 2021, 9:53pm UTC](https://discuss.elastic.co/t/filebeat-apport-log-permission-denied/263048 "2021-02-02T21:53:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stud21](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Stud21](https://discuss.elastic.co/u/Stud21)\
**Post date:** [February 2, 2021, 9:53pm UTC](https://discuss.elastic.co/t/filebeat-apport-log-permission-denied/263048/1 "2021-02-02T21:53:11Z")

</div>

Hi,  
I'm trying to configure and run Filebeat for one of the training topics related to Lab 4.2: Extracting Events and am getting the below error:  
2021-02-02T21:46:53.121Z ERROR log/input.go:519 Harvester could not be started on new file: /var/log/apport.log, Err: error setting up harvester: Harvester setup failed. Unexpected file opening error: Failed opening /var/log/apport.log: open /var/log/apport.log: permission denied

Please assist

---

<div class="post-metadata">

**Author:** ![Rich\_Raposa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rich_raposa/32/62078_2.png) [@Rich\_Raposa](https://discuss.elastic.co/u/Rich_Raposa)\
**Post date:** [February 10, 2021, 4:28am UTC](https://discuss.elastic.co/t/filebeat-apport-log-permission-denied/263048/2 "2021-02-10T04:28:04Z")

</div>

I see a couple of issues:

1. The lab does not ask you to extract events from a file named /var/log/apport.log
2. If you do have that file on your system, the `elastic` user that is starting Filebeat does not have access to it, as stated in the error message

What step are you on in that lab?

---

<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:** [March 12, 2021, 4:28am UTC](https://discuss.elastic.co/t/filebeat-apport-log-permission-denied/263048/3 "2021-03-12T04:28:21Z")

</div>

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