This project has been archived by its maintainers, and is no longer receiving any updates.
filur
filur is a CLI application for searching log files.
Installation
Use the package manager pip to install filur.
Usage
filur works by processing a playbook defined by the user. Each playbook can be configured to parse multiple log files and each of them with custom patterns. An example playbook is shown below, with comments to describe additional properties as well as descriptions of each parameter.
files:
- file: "/home/kverqus/syslog"
order_by: "weight" # "weight" or "none" (default). Optional
direction: "forward" # "forward" (default) or "reverse". Optional
rows: 400 # number of rows to process. All rows are processed if not specified. Optional
patterns:
- pattern: "DHCPREQUEST" # the pattern the row will be searched for
type: "string" # "string" or "regex"
weight: 20 # all matched patterns will have their weight combined
- pattern: "x-pid"
type: "string"
weight: 50
operator: "KEYWORD" # "OR" (default if not specified), "AND", "NOT" or "KEYWORD". The "KEYWORD"
# operator will only be evaluated on already matched rows
- pattern: '"\d+"' # regex pattern
type: "regex"
weight: 20
output:
type: "html" # "html", "json" or "console". "html" and "json" expects path to be specified
path: "/home/kverqus/output.html"
overwrite: true # if already existing file should be overwritten. Optional
kverqus@serenity:~# filur --playbook syslog.yaml
Metadata
Release files for filur 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| filur-0.1.1.tar.gz | 8.8 kB | Without provenance | Details for filur-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| filur-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for filur-0.1.1-py3-none-any.whl |
Total release size: 18.3 kB
Release files / filur-0.1.1.tar.gz
| Download URL | filur-0.1.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2f278eb10d141a87681facad98870c3ca2c19dd06edbc349aa755393bc58f11
|
|
BLAKE2b-256 checksum How to use checksums |
e781d2f038c29dc81ee9208dc8fe1383a00ac608d501483600f7a54d49cf5cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.0
|
Release files / filur-0.1.1-py3-none-any.whl
| Download URL | filur-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca303bdcdbe174ef1deaed834ff62b86edaa6165782340c086860e9c57c11c61
|
|
BLAKE2b-256 checksum How to use checksums |
c43414252bd50935adbec7581915fb611935169e886985ad158b684032ce1d29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.0
|
Security for filur 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.