# Audit beat warning

**URL:** <https://discuss.elastic.co/t/audit-beat-warning/265730>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 28, 2021, 4:03pm UTC](https://discuss.elastic.co/t/audit-beat-warning/265730 "2021-02-28T16:03:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_fleming/32/81768_2.png) [@Paul\_Fleming](https://discuss.elastic.co/u/Paul_Fleming)\
**Post date:** [February 28, 2021, 4:03pm UTC](https://discuss.elastic.co/t/audit-beat-warning/265730/1 "2021-02-28T16:03:53Z")

</div>

Hi Im seeing the following warning when I started auditbeat can someone please help me resolve the following issue thanks.

' feb 28 15:45:11 virtual-machine auditbeat[4659]: 2021-02-28T15:45:11.932Z WARN [process] process/process.go:249 failed to hash executable /usr/share/metricbeat/bin/metricbeat for PID 2924: failed to hash file /usr/share/metricbeat/bin/metricbeat: hasher: file size 135326592 '

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 28, 2021, 11:54pm UTC](https://discuss.elastic.co/t/audit-beat-warning/265730/3 "2021-02-28T23:54:54Z")

</div>

I just wanted to check if this is indeed solved, given you deleted the post with the flagged solution

---

<div class="post-metadata">

**Author:** ![Paul\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_fleming/32/81768_2.png) [@Paul\_Fleming](https://discuss.elastic.co/u/Paul_Fleming)\
**Post date:** [March 1, 2021, 12:11am UTC](https://discuss.elastic.co/t/audit-beat-warning/265730/4 "2021-03-01T00:11:25Z")

</div>

I think has solved the issue in audit.reference.yml by changing process.hash.max\_file\_size.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [March 1, 2021, 3:24pm UTC](https://discuss.elastic.co/t/audit-beat-warning/265730/5 "2021-03-01T15:24:01Z")

</div>

Yes, `max_file_size` should solve this. See [File Integrity Module | Auditbeat Reference [7.11] | Elastic](https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-module-file_integrity.html#_configuration_options_17). It won't hash files larger than 100MiB by default.

---

<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 29, 2021, 5:24pm UTC](https://discuss.elastic.co/t/audit-beat-warning/265730/6 "2021-03-29T17:24:28Z")

</div>

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