log2graph

Crates.iolog2graph
lib.rslog2graph
version0.1.1
sourcesrc
created_at2021-10-07 09:14:05.663694
updated_at2021-10-07 09:34:30.69618
descriptioncreate directed graphs from log files
homepagehttps://github.com/bitton-yehonatan/log2graph
repositoryhttps://github.com/bitton-yehonatan/log2graph
max_upload_size
id461651
size13,995
Yehonatan Bitton (bitton-yehonatan)

documentation

README


Logo

Log2Graph

A LogParser to graphviz dot format

Explore the docs ยป

Report Bug . Request Feature

License

Table Of Contents

About The Project

Log2Graph is a CLI tool that transforms log files to Graphviz dot format for better inspection.

Built With

Built with rust petgraph library

Getting Started

Running log2graph is very easy you only need to install the supplied create and start using.

Prerequisites

Make sure that rust is installed on your machine

Usage

tldr;

log2graph --pattern "logprefix" --group_by "group_key" my_log.log --keys_to_print "group_key" "another_key"

The long way

USAGE: log2graph [FLAGS] [OPTIONS] --group_by --pattern

FLAGS: -h, --help Prints help information -s, --split_files split dot file by group -V, --version Prints version information

OPTIONS: -g, --group_by The key for grouping logs -k, --keys_delimiter The delimiter for each key [default: :] -v, --keys_to_print ... Keys for node labling -d, --params_delimiter The delimiter for each param [default: ,] -p, --pattern The pattern for parsed lines

ARGS: The path to the file to read

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Commit count: 10

cargo fmt