# 404 Error installing Filebeat on Debian Linux via apt

**URL:** <https://discuss.elastic.co/t/404-error-installing-filebeat-on-debian-linux-via-apt/327701>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 14, 2023, 9:11pm UTC](https://discuss.elastic.co/t/404-error-installing-filebeat-on-debian-linux-via-apt/327701 "2023-03-14T21:11:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.jarvis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.jarvis/32/118455_2.png) [@michael.jarvis](https://discuss.elastic.co/u/michael.jarvis)\
**Post date:** [March 14, 2023, 9:11pm UTC](https://discuss.elastic.co/t/404-error-installing-filebeat-on-debian-linux-via-apt/327701/1 "2023-03-14T21:11:25Z")

</div>

Hello, I am trying to install filebeat on some Debian Linux devices, using the instructions from [this link](https://www.elastic.co/guide/en/beats/filebeat/8.6/setup-repositories.html). Unfortunately, the URL provided on that page ([https://artifacts.elastic.co/packages/8.x/apt](https://artifacts.elastic.co/packages/8.x/apt)) is not working.

Am I missing something? I tried poking around, to see if I could locate the correct URL, and I keep getting redirected to [https://elastic.co/download](https://elastic.co/download).

```auto
$ curl -vL https://artifacts.elastic.co/packages/8.x/apt/                                                                                                                                                                                                                                                                                    
* Trying 34.120.127.130:443...
* Connected to artifacts.elastic.co (34.120.127.130) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: CN=appsearch.elastic.co
* start date: Mar 9 13:21:45 2023 GMT
* expire date: Jun 7 14:13:55 2023 GMT
* subjectAltName: host "artifacts.elastic.co" matched cert's "artifacts.elastic.co"
* issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1D4
* SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /packages/8.x/apt/]
* h2h3 [:scheme: https]
* h2h3 [:authority: artifacts.elastic.co]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7fc6a200e800)
> GET /packages/8.x/apt/ HTTP/2
> Host: artifacts.elastic.co
> user-agent: curl/7.88.1
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 404
< content-length: 0
< strict-transport-security: max-age=31536000; includeSubDomains
< via: 1.1 google
< date: Tue, 14 Mar 2023 20:59:53 GMT
< age: 9
< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
<
* Connection #0 to host artifacts.elastic.co left intact

```

---

<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:** [March 15, 2023, 2:36am UTC](https://discuss.elastic.co/t/404-error-installing-filebeat-on-debian-linux-via-apt/327701/2 "2023-03-15T02:36:35Z")

</div>

You can also just do it direct per the [quick start](https://www.elastic.co/guide/en/beats/filebeat/8.6/filebeat-installation-configuration.html#installation)

```auto
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.6.2-amd64.deb
sudo dpkg -i filebeat-8.6.2-amd64.deb

```

---

<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:** [April 12, 2023, 4:36am UTC](https://discuss.elastic.co/t/404-error-installing-filebeat-on-debian-linux-via-apt/327701/3 "2023-04-12T04:36:58Z")

</div>

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