# How to get Logstash installer to download to /tmp?

**URL:** <https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574>\
**Category:** Logstash\
**Created:** [May 15, 2024, 7:24pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574 "2024-05-15T19:24:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paolovalladolid](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Post date:** [May 15, 2024, 7:24pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/1 "2024-05-15T19:24:00Z")

</div>

I followed the instructions for installing with YUM, published at:

> **[Installing Logstash | Logstash Reference \[8.13\] | Elastic](https://www.elastic.co/guide/en/logstash/current/installing-logstash.html)**

This is the error:

```auto
Error Summary
-------------
Disk Requirements:
  At least 297MB more space needed on the / filesystem.

```

Looks like 405MB on / is not enough for Logstash

`/dev/mapper/vg00-lvol1 4912 4246 405 92% /`

How I do get the installer to download its files into /tmp? We have 1873MB available on /tmp

`/dev/mapper/vg00-lvol3 1984 4 1873 1% /tmp`

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [May 15, 2024, 7:31pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/2 "2024-05-15T19:31:35Z")

</div>

```auto
cd /tmp
curl -O https://artifacts.elastic.co/downloads/logstash/logstash-8.13.4-x86_64.rpm

```

297MB will not be enough for the installation in /usr/share/logstash

Or you can use the binaries without installing.  
[297MB](https://artifacts.elastic.co/downloads/logstash/logstash-8.13.4-linux-x86_64.tar.gz)

---

<div class="post-metadata">

**Author:** ![paolovalladolid](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Post date:** [May 15, 2024, 7:49pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/3 "2024-05-15T19:49:33Z")

</div>

Thanks!

I was at least able to download the .rpm file into `/tmp`

```auto
[svc_itential@atlv-orch-mdb02 tmp]$ sudo rpm -i logstash-8.13.4-x86_64.rpm
[sudo] password for svc_itential:
        installing package logstash-1:8.13.4-1.x86_64 needs 297MB on the / filesystem

```

You're right, we are still short 297MB.

We do need to run Logstash as a service so that it can collect logs. Is there a way to do this without full installation?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [May 15, 2024, 7:51pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/4 "2024-05-15T19:51:34Z")

</div>

Yes, you can run as binaries  
[https://artifacts.elastic.co/downloads/logstash/logstash-8.13.4-linux-x86\_64.tar.gz](https://artifacts.elastic.co/downloads/logstash/logstash-8.13.4-linux-x86_64.tar.gz)

---

<div class="post-metadata">

**Author:** ![paolovalladolid](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Post date:** [May 15, 2024, 7:58pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/5 "2024-05-15T19:58:18Z")

</div>

We need to run `sudo systemctl start logstash.service`

How do we get it to point to the binaries?

Alternatively, I will talk to my colleagues about mounting a new file system with 700 or more MB on `/usr/share/logstash` . I'm assuming the Logstash installer is not going to just try to create the `/usr/share/logstash` and exit if it already exists.

---

<div class="post-metadata">

**Author:** ![paolovalladolid](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Post date:** [May 21, 2024, 3:49pm UTC](https://discuss.elastic.co/t/how-to-get-logstash-installer-to-download-to-tmp/359574/6 "2024-05-21T15:49:05Z")

</div>

In case my colleagues insist on Logstash being installed in a directory other than `/usr/share/logstash` , how do we install it to an alternate directory path?
