---
title: Install logscrub on Linux | Snap Store
description: Get the latest version of logscrub for Linux - Mask secrets and personal
  data in logs
url: https://snapcraft.io/logscrub
---

# logscrub

[Houssem Ben Ali (hbenali)](https://snapcraft.io/publisher/hbenali "View all snaps from Houssem Ben Ali (hbenali)")

* [Houssem Ben Ali (hbenali)](https://snapcraft.io/publisher/hbenali "View all snaps from Houssem Ben Ali (hbenali)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 1.2.1-5-g4b6eb0c

Install latest/stable of logscrub

---

**Install using the command line**

```
sudo snap install logscrub
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* logscrub

---

### License

* MIT

---

### Last updated

* Today - latest/stable
* Today - latest/edge

---

### Websites

* [github.com/hbenali/logscrub](https://github.com/hbenali/logscrub "https://github.com/hbenali/logscrub")
* [logscrub.hbenali.ovh](https://logscrub.hbenali.ovh/ "https://logscrub.hbenali.ovh/")

---

### Contact

* [github.com/hbenali/logscrub/issues](https://github.com/hbenali/logscrub/issues "https://github.com/hbenali/logscrub/issues")

---

### Source code

* [github.com/hbenali/logscrub](https://github.com/hbenali/logscrub "https://github.com/hbenali/logscrub")

---

### Report a bug

* [github.com/hbenali/logscrub/issues](https://github.com/hbenali/logscrub/issues "https://github.com/hbenali/logscrub/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/logscrub#report-snap-modal)

---

* [Description](https://snapcraft.io/logscrub#tab-description)
* [Security](https://snapcraft.io/logscrub#tab-security)

#### Mask secrets and personal data in logs

logscrub reads logs on standard input or from files and masks API keys,
tokens, passwords, private keys and personal data such as email addresses,
so the logs can be shared safely. It streams its input, handles very long
lines, and can replace values with stable pseudonyms.

The snap is strictly confined: it can read and write files in your home
directory and on removable media, not elsewhere (for /var/log, pipe the file
in: `sudo cat /var/log/app.log | logscrub`). `logscrub serve` starts the local
web UI on a loopback address.

---

## Install logscrub on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/logscrub/arch)

[### CentOS](https://snapcraft.io/install/logscrub/centos)

[### Debian](https://snapcraft.io/install/logscrub/debian)

[### elementary OS](https://snapcraft.io/install/logscrub/elementary)

[### Fedora](https://snapcraft.io/install/logscrub/fedora)

[### KDE Neon](https://snapcraft.io/install/logscrub/kde-neon)

[### Kubuntu](https://snapcraft.io/install/logscrub/kubuntu)

[### Manjaro](https://snapcraft.io/install/logscrub/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/logscrub/pop)

[### openSUSE](https://snapcraft.io/install/logscrub/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/logscrub/rhel)

[### Ubuntu](https://snapcraft.io/install/logscrub/ubuntu)
