---
title: Install logsearch on Linux | Snap Store
description: Get the latest version of logsearch for Linux - Tool to simplify searching
  logfiles
url: https://snapcraft.io/logsearch
---

# logsearch

[Edward Hope-Morley (hopem)](https://snapcraft.io/publisher/hopem "View all snaps from Edward Hope-Morley (hopem)")

* [Edward Hope-Morley (hopem)](https://snapcraft.io/publisher/hopem "View all snaps from Edward Hope-Morley (hopem)")

latest/stable 1.0

Install latest/stable of logsearch

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install logsearch
```

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

---

### Package name

* logsearch

---

### License

* Apache-2.0

---

### Last updated

* 15 January 2022 - latest/stable
* 15 January 2022 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

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

---

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

#### Tool to simplify searching logfiles

This tool helps searching large numbers of files across multiple locations. It is particularly useful when looking for information in sosreports and can be run against multiple sosreports to get data across hosts.

Note that since this is a strictly confined snap the log files must be under $HOME

**Install**

`sudo snap install logsearch`

If you need to search a path on a remote file-system you will need:

`sudo snap connect logsearch:removable-media`

**Examples**

Basic search - all messages containing ERROR in /var/log/apache:

`logsearch -d apache -k error mysosreports/`

Or to look for errors in /var/log/syslog\* (i.e. files not dir)

`logsearch -f syslog -k error mysosreports/`

Advanced search - all messages containing "2ae8d37" in /var/log/neutron and filtering out any debug or info level messages:

`logsearch -d neutron -k 2ae8d37 -e 'DEBUG|INFO' mysosreports/`

---

## Install logsearch 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/logsearch/arch)

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

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

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

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

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

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

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

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

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

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

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