Lastlogcsv
Converter from /var/log/lastlog to csv file.
Install from PyPI
pip3 install lastlogcsv
Install from Github
pip3 install git+https://github.com/Dashstrom/lastlogcsv
Usage
You can run the script with lastlogcsv or python3 -m lastlogcsv
usage: lastlogcsv [-h] [-i INPUT] [-o OUTPUT] [-s {L,A}] [-e]
Converter file from /var/log/lastlog to csv file.
The output format is `uid,timestamp,tine,host`.
Exemple : `1000,1582898351,pts/0,192.168.56.1`
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
lastlog file, /var/log/lastlog by default on unix system
-o OUTPUT, --output OUTPUT
destination for CSV file
-s {L,A}, --struct {L,A}
'A' for actual struct, 'L' for legacy
-e, --error display complete error
Metadata
Release files for lastlogcsv 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lastlogcsv-2.0.0.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lastlogcsv-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.0 kB
Release files / lastlogcsv-2.0.0.tar.gz
| Download URL | lastlogcsv-2.0.0.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8badd6027a3951577698e4be1970c40d80e8d67bb1b0cdb47b05cf213b950ef
|
|
BLAKE2b-256 checksum How to use checksums |
bed317f17147c26ed7904fda4572e078456f4fa61dd63a1f8b21ff45c924fe06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / lastlogcsv-2.0.0-py3-none-any.whl
| Download URL | lastlogcsv-2.0.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3eab188c127517d1434f6b99170348e4677660c1ed6156e9cc92959cbe00e5a2
|
|
BLAKE2b-256 checksum How to use checksums |
6b8c8c59b9559f9bbaf24f9c1bf8c1bbdc57d4d6cfe14f1fbe6df4a81be491ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|