title: Apache log monitor inside a container
body: <p>I have a Nagios Log server installed on ubuntu 18.04. and I can access my ubuntu system logs as per documentation. Now I want to monitor apache error and access logs, which are in docker containers. Just wanted to know the process for same. I have done following inside docker container. But somehow I am not getting apache logs. Do I need to open port? or any other configuration required?</p>
  
  <ol>
  <li>Installed rsyslog in docker container.</li>
  <li>downloaded http://<em>.</em>.*.54/nagioslogserver/scripts/setup-linux.sh</li>
  <li>bash setup-linux.sh -s <em>.</em>.*.54 -p 35544 -f "/var/log/apache2/error.log" -t apache_error</li>
  </ol>