Skip to main content

A tool to generate causal DAGs from syslog time-series.

Project description

Overview

This package generates causal DAGs among time-series events in syslog data. This package works on python3. The input log data is loaded with AMULOG (https://github.com/cpflat/amulog). The output DAG is recorded in the format of NetworkX DiGraph.

This project was partially forked from repository LogCausalAnaysis. (https://github.com/cpflat/LogCausalAnalysis)

Usage

All features are available from command line. First you should try following help command python -m logdag -h.

short usage:

  1. Generate amulog database (and its config) as the input log time-series source

  2. Prepare logdag config file by referring logdag/data/config.conf.default

  3. Generate time-series db by logdag.source features

  4. Generate DAGs by subcommand makedag

  5. See results by commands such as show-subgraphs

See tutorial directory for more information.

Reference

This project is evaluated in some papers CNSM2019 and TNSM2018. If you use this code, please consider citing:

@inproceedings{Kobayashi_CNSM2019,
  author = {Kobayashi, Satoru and Otomo, Kazuki and Fukuda, Kensuke},
  booktitle = {Proceedings of the 15th International Conference on Network and Service Management (CNSM'20)},
  title = {Causal analysis of network logs with layered protocols and topology knowledge},
  pages = {1-9},
  year = {2019}
}


@article{Kobayashi_TNSM2018,
  author = {Kobayashi, Satoru and Otomo, Kazuki and Fukuda, Kensuke and Esaki, Hiroshi},
  journal = {IEEE Transactions on Network and Service Management},
  volume = {15},
  number = {1},
  pages = {53-67},
  title = {Mining causes of network events in log data with causal inference},
  year = {2018}
}

License

3-Clause BSD license

Author

Satoru Kobayashi

Project details


Download files

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

Source Distribution

logdag-0.3.0.tar.gz (122.0 kB view details)

Uploaded Source

Built Distribution

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

logdag-0.3.0-py3-none-any.whl (103.8 kB view details)

Uploaded Python 3

File details

Details for the file logdag-0.3.0.tar.gz.

File metadata

  • Download URL: logdag-0.3.0.tar.gz
  • Upload date:
  • Size: 122.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for logdag-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d7cac3b775db798990af1a1965df922c751c2df9bf28aaf0b32e4e07f75b8345
MD5 673ac030b96e28c267644800c8184141
BLAKE2b-256 9cd7748b1717ecdf192218db834cace67ea8761b054eabfe3ad69e6a5c586027

See more details on using hashes here.

Provenance

The following attestation bundles were made for logdag-0.3.0.tar.gz:

Publisher: publish.yml on amulog/logdag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file logdag-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: logdag-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 103.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for logdag-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed2b6bb3b4fede522e42cdc7fc61368cd90873ff3cc26fa29cf7e08e040f7466
MD5 8985a502bf0706b832bb5a00408c0856
BLAKE2b-256 6778ff2bb24fa2a04f23fbc8ea15efb6a90c576fd60eb148d3e9587dc441def5

See more details on using hashes here.

Provenance

The following attestation bundles were made for logdag-0.3.0-py3-none-any.whl:

Publisher: publish.yml on amulog/logdag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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