# Filebeat service doesn't send apache logs

**URL:** <https://discuss.elastic.co/t/filebeat-service-doesnt-send-apache-logs/317277>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 23, 2022, 2:53pm UTC](https://discuss.elastic.co/t/filebeat-service-doesnt-send-apache-logs/317277 "2022-10-23T14:53:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sevbans](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sevbans/32/112112_2.png) [@sevbans](https://discuss.elastic.co/u/sevbans)\
**Post date:** [October 23, 2022, 2:53pm UTC](https://discuss.elastic.co/t/filebeat-service-doesnt-send-apache-logs/317277/1 "2022-10-23T14:53:44Z")

</div>

This is my current configuration file.

```auto
filebeat.inputs:
- type: log
  enabled: true
  paths:
    - /var/log/apache2/*.log

output.logstash:
  hosts: ["localhost:5044"]
  enabled: true

setup.dashboards.enabled: true
setup.kibana:
  host: "localhost:5601"

```

my logstash.conf file.

```auto
input {
        beats {
                port => "5044"
        }
}

filter {
        grok {
                match => { "message" => "%{COMBINEDAPACHELOG}" }
        }
        date {
                match => ["timestamp", "dd/MMM/yyyy:HH:mm:ss Z"]
        }
}

output {
        elasticsearch {
                hosts => ["localhost:9200"]
                index => "apache"
        }

        stdout {}

}

```

although filebeat listening 5044 port, there is nothing on elasticsearch. how can i solve?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 23, 2022, 4:19pm UTC](https://discuss.elastic.co/t/filebeat-service-doesnt-send-apache-logs/317277/2 "2022-10-23T16:19:49Z")

</div>

> [@sevbans](#):
>
> `stdout {}`

What is showing up in the logstash console?

Also Filebeat will only send the file once if you want to send it again you need to clean out the data registry..

Also Did you know there is a built-in in module for Apache logs in Filebeat... You don't need Logstash?

> **[Apache module | Filebeat Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-apache.html)**

---

<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:** [November 20, 2022, 6:20pm UTC](https://discuss.elastic.co/t/filebeat-service-doesnt-send-apache-logs/317277/3 "2022-11-20T18:20:13Z")

</div>

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