logsearch
Install latest/stable of logsearch
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Details for logsearch
Package name
- logsearch
License
- Apache-2.0
Last updated
- 15 January 2022 - latest/stable
- 15 January 2022 - latest/edge
Report a Snap Store violation
Report logsearch for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
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/
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
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.