# Unable to ship logs from beats to logstash

**URL:** <https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [October 7, 2022, 8:57am UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048 "2022-10-07T08:57:31Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [October 18, 2022, 10:43am UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/21 "2022-10-18T10:43:16Z")

</div>

Do you see messages flowing in the rabbitmq queue?

If you want to discard problems sending to rabbitmq, you can also configure a [file output in Logstash](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-file.html), to check the events that are being received and sent to the outputs.

---

<div class="post-metadata">

**Author:** ![charlot\_Attard](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Post date:** [October 18, 2022, 2:26pm UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/22 "2022-10-18T14:26:47Z")

</div>

> [@jsoriano](#):
>
> If you want to discard problems sending to rabbitmq, you can also configure a [file output in Logstash](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-file.html), to check the events that are being received and sent to the outputs.

Hello @jsoriano

Thanks for your suggestion.

Im trying to setup logstash with output but its giving me out some errors. These are config

```auto
output{
 file {
    path => /tmp/test
    file_mod => 0644
    codec => plain
}
}

```

---

<div class="post-metadata">

**Author:** ![charlot\_Attard](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Post date:** [October 19, 2022, 9:11am UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/23 "2022-10-19T09:11:00Z")

</div>

Hello @jsoriano

The below is the configuration i have setup on logstash.

```auto
xpack.management.enabled: true
xpack.management.pipeline.id: ["beats", "dlq"]
xpack.management.elasticsearch.username: 
xpack.management.elasticsearch.password: ${}
xpack.management.elasticsearch.hosts: [
  "server1:9200",
  "server2:9200",
  "server3:9200"
]
xpack.management.elasticsearch.ssl.certificate_authority: /etc/logstash/cert.crt
xpack.management.elasticsearch.ssl.verification_mode: certificate

output {
  file {
    path => "/tmp/test"
    file_mode => 0644
  }
}`

```

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [October 19, 2022, 1:00pm UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/24 "2022-10-19T13:00:54Z")

</div>

What errors is it giving?

---

<div class="post-metadata">

**Author:** ![charlot\_Attard](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Post date:** [October 19, 2022, 1:29pm UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/25 "2022-10-19T13:29:48Z")

</div>

Failed to load settings file from "path.settings". Aborting... path.setting=/etc/logstash, exception=Java::OrgLogstashSecretStore::SecretStoreException::LoadException, message=\>Found a file at /etc/logstash/logstash.keystore, but it is not a valid Logstash keystore.

---

<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 16, 2022, 3:30pm UTC](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048/26 "2022-11-16T15:30:14Z")

</div>

Closed on November 16, 2022, 3:30pm UTC

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

[Previous page](https://discuss.elastic.co/t/unable-to-ship-logs-from-beats-to-logstash/316048.md?page=1)
