Skip to main content

Lastlogcsv

Tests result Build result

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lastlogcsv-2.0.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lastlogcsv-2.0.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file lastlogcsv-2.0.0.tar.gz.

File metadata

  • Download URL: lastlogcsv-2.0.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for lastlogcsv-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c8badd6027a3951577698e4be1970c40d80e8d67bb1b0cdb47b05cf213b950ef
MD5 c277e7c9f4d966c9f2197ed3c5bfaa67
BLAKE2b-256 bed317f17147c26ed7904fda4572e078456f4fa61dd63a1f8b21ff45c924fe06

See more details on using hashes here.

File details

Details for the file lastlogcsv-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: lastlogcsv-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for lastlogcsv-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3eab188c127517d1434f6b99170348e4677660c1ed6156e9cc92959cbe00e5a2
MD5 55683aa49242df5628271f676cae7807
BLAKE2b-256 6b8c8c59b9559f9bbaf24f9c1bf8c1bbdc57d4d6cfe14f1fbe6df4a81be491ea

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page