# Customizing Apache log paths

**URL:** <https://discourse.crowdsec.net/t/customizing-apache-log-paths/112>\
**Category:** crowdsec\
**Created:** [February 7, 2021, 8:43pm UTC](https://discourse.crowdsec.net/t/customizing-apache-log-paths/112 "2021-02-07T20:43:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![graoully54](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/graoully54/32/73_2.png) [@graoully54](https://discourse.crowdsec.net/u/graoully54)\
**Post date:** [February 7, 2021, 8:43pm UTC](https://discourse.crowdsec.net/t/customizing-apache-log-paths/112/1 "2021-02-07T20:43:00Z")

</div>

Hello,

I installed crowdsec yesterday and it seems very interesting ! Thanks for the great work.  
I have a question regarding the custom logs : I have some websites on my server and when I did a “cscli metrics” I see in acquisition metrics only the standards ’ apache logs (for example /var/log/apache2/other\_vhosts\_access.log). But my websites have their logs not in “/var/log/apache2” but in “/home/www-data/www.thewebsite.com/logs/”  
Is it possible to add custom path in crowdesc ?

Thanks  
Seb

---

<div class="post-metadata">

**Author:** ![Sich](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/sich/32/16_2.png) [@Sich](https://discourse.crowdsec.net/u/Sich)\
**Post date:** [February 8, 2021, 7:56am UTC](https://discourse.crowdsec.net/t/customizing-apache-log-paths/112/2 "2021-02-08T07:56:18Z")

</div>

Hi, you need to edit the file : /etc/crowdsec/acquis.yaml  
But I don’t know how this will work if you have a lot of different files.  
I know that fail2ban don’t like that too much.

---

<div class="post-metadata">

**Author:** ![graoully54](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/graoully54/32/73_2.png) [@graoully54](https://discourse.crowdsec.net/u/graoully54)\
**Post date:** [February 8, 2021, 9:48am UTC](https://discourse.crowdsec.net/t/customizing-apache-log-paths/112/3 "2021-02-08T09:48:14Z")

</div>

Hi Sich,  
Thanks for your help.  
I added my logs into “/etc/crowdsec/acquis.yaml” and restarted my crowdsec but unfortunately in my “Acquisition Metrics” i have always the standards logs.

Seb

---

<div class="post-metadata">

**Author:** ![graoully54](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/graoully54/32/73_2.png) [@graoully54](https://discourse.crowdsec.net/u/graoully54)\
**Post date:** [February 8, 2021, 12:31pm UTC](https://discourse.crowdsec.net/t/customizing-apache-log-paths/112/4 "2021-02-08T12:31:44Z")

</div>

Sorry it works 🙂 May be it was because I don’t have trafic on my test website between the restart and my verification.

Thanks  
Seb
