#graphviz #log #dot

app log2graph

create directed graphs from log files

2 releases

0.1.1 Oct 7, 2021
0.1.0 Oct 7, 2021

#83 in Debugging

MIT license

7KB
120 lines


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.

Dependencies

~3.5MB
~63K SLoC

&^a