# Fail to install Logstash-Forwarder on ubuntu 1804

**URL:** <https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820>\
**Category:** Logstash\
**Created:** [August 24, 2018, 12:26am UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820 "2018-08-24T00:26:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheng1688](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cheng1688](https://discuss.elastic.co/u/cheng1688)\
**Post date:** [August 24, 2018, 12:26am UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820/1 "2018-08-24T00:26:36Z")

</div>

I have successfully installed logstash-forwarder on ubuntu 1404, and 1604.  
Now the same method failed on ubuntu 1804.

This is the steps I do:

1. echo 'deb [http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable main' | sudo tee /etc/apt/sources.list.d/logstashforwarder.list
2. wget -O - [http://packages.elasticsearch.org/GPG-KEY-elasticsearch](http://packages.elasticsearch.org/GPG-KEY-elasticsearch) | sudo apt-key add -
3. sudo apt-get update
4. sudo service logstash-forwarder restart

# On step 3, I got the following error:

Get:11 [http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable Release.gpg [490 B]  
Ign:11 [http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable Release.gpg  
Reading package lists... Done  
W: GPG error: [http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable Release: The following signatures were invalid: 46095ACC8548582C1A2699A9D27D666CD88E42B4  
**E: The repository '[http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable Release' is not signed.**  
N: Updating from such a repository can't be done securely, and is therefore disabled by default.  
N: See apt-secure(8) manpage for repository creation and user configuration details.

Could someone help? Using the same method, how can I solve this issue on ubuntu 1804.  
Thanks a thousand.....

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 24, 2018, 12:39am UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820/2 "2018-08-24T00:39:35Z")

</div>

Logstash forwarder has long since been deprecated. Use filebeat instead. Filebeat was created from the original Logstash forwarder code, and has been greatly improved upon since then, and has dedicated maintainers.

---

<div class="post-metadata">

**Author:** ![cheng1688](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cheng1688](https://discuss.elastic.co/u/cheng1688)\
**Post date:** [August 24, 2018, 1:06am UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820/3 "2018-08-24T01:06:37Z")

</div>

> [@theuntergeek](#):
>
> filebeat

We have existing customers using logstash. We need to support this.  
Is there anyway to make logstash-forwarder working in ubuntu 1804?  
e.g. properly sign **[http://packages.elasticsearch.org/logstashforwarder/debian](http://packages.elasticsearch.org/logstashforwarder/debian) stable Release**?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 24, 2018, 3:01pm UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820/4 "2018-08-24T15:01:44Z")

</div>

filebeat can send to Logstash, which has the `beats` input plugin to receive that data.

There is no chance the Logstash forwarder packages will be touched. You will have to upgrade to using filebeat or find another way to ship your logs.

---

<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:** [September 21, 2018, 3:01pm UTC](https://discuss.elastic.co/t/fail-to-install-logstash-forwarder-on-ubuntu-1804/145820/5 "2018-09-21T15:01:51Z")

</div>

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