title: unable to send apache logs to Datadog agent
body: <p>I am trying Datadog agent to visualize apache logs. <strong>Apache is running inside a docker container, And Datadog-agent is also running as a docker container on same host</strong>.
  <strong>Note</strong>: I am able to find all container logs, but <strong>unable</strong> to get logs from apache's access.log file.
  Used following command to start Datadog-agent.</p>
  <pre><code>docker run -d --name datadog-agent \
         -e DD_API_KEY=$DD_API_KEY \
         -e DD_LOGS_ENABLED=true \
       -e DD_LOGS_CONFIG_EXPECTED_TAGS_DURATION=10m \
         -e DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true \
         -e DD_CONTAINER_EXCLUDE_LOGS=&quot;name:datadog-agent&quot; \
         -e DD_LOGS_CONFIG_DOCKER_CONTAINER_FORCE_USE_FILE=true \
         -v /proc/:/host/proc/:ro \
         -v /opt/datadog-agent/run:/opt/datadog-agent/run:rw \
         -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
         datadog/agent:latest
  </code></pre>
  <p>This is how I used conf.yaml file in datadog-agent container.
  Filepath: conf.d/apache.d/conf.yaml</p>
  <pre><code>logs:
  
  # - type : (mandatory) type of log input source (tcp / udp / file)
  #   port / path : (mandatory) Set port if type is tcp or udp. Set path if type is file
  #   service : (mandatory) name of the service owning the log
  #   source : (mandatory) attribute that defines which integration is sending the logs
  #   sourcecategory : (optional) Multiple value attribute. Can be used to refine the source attribute
  #   tags: (optional) add tags to each logs collected
  
  - type: file
    path: &quot;/var/log/apache2/access.log&quot;
    service: &quot;apache&quot;
    source: &quot;apache&quot;
    sourcecategory:
  </code></pre>
  <p>Yet I don't see any logs in datadog-agent dashboard.
  I check the track trace from datadog agent I got this</p>
  <pre><code>Logs Agent
  ==========
      Reliable: Sending compressed logs in HTTPS to agent-http-intake.logs.datadoghq.com on port 443
      BytesSent: 63387
      EncodedBytesSent: 11210
      LogsProcessed: 148
      LogsSent: 148
  
    apache
    ------
      - Type: file
        Path: /var/log/apache2/access.log
        Status: Error: cannot read file /var/log/apache2/access.log: stat /var/log/apache2/access.log: no such file or directory
        BytesRead: 0
        Average Latency (ms): 0
        24h Average Latency (ms): 0
        Peak Latency (ms): 0
        24h Peak Latency (ms): 0
  </code></pre>
  <p>name of my apache container is <strong>apache</strong>.
  Can anyone suggest me how can I read a access.log file from my apache container using Datadog-agent?</p>