Simple tools for merging, filtering, and transforming Chronicles logs.
Go to file
Giuliano Mega 613f35cdfc
fix repo URL in README
2023-10-25 11:54:52 -03:00
adhoc fix bug, add constant column option to csv conversion 2023-10-19 20:21:06 -03:00
analysis fix ad hoc log pull scripts, remove .Rhistory 2023-10-24 18:19:33 -03:00
bin fix ad hoc log pull scripts, remove .Rhistory 2023-10-24 18:19:33 -03:00
logtools fix bug, add constant column option to csv conversion 2023-10-19 20:21:06 -03:00
.gitignore add log helper scripts and snippets, update analysis 2023-10-20 13:48:01 -03:00
README.md fix repo URL in README 2023-10-25 11:54:52 -03:00
mypy.ini initial import 2023-10-17 16:35:02 -03:00
poetry.lock initial import 2023-10-17 16:35:02 -03:00
pyproject.toml add CSV support, adhoc scripts and adhoc analysis 2023-10-19 18:07:07 -03:00

README.md

Simple Log Visualization Tools

Installation

pip install git+https://github.com/codex-storage/logtools.git

Usage

Merge by Timestamp

log-merge log1.log log2.log

Merge by Timestamp Showing Aliases Instead of File Name

log-merge log1.log log2.log --aliases bootstrap codex21

Merge and Filter by Timestamp

# If no timezone is provided, assumes UTC
log-merge log1.log log2.log --from 2021-01-01T00:00:00 --to 2021-01-02T00:00:00

Transform Raw Logs into CSV

cat ./log1.log | log-to-csv

Transform Raw Logs into CSV, Extracting Topics Into Column

cat ./log1.log | log-to-csv --extract-fields topics