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.2.0.tar.gz (103.7 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.2.0-py3-none-any.whl (91.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for logdag-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6cf1e03d70249a0c06b45c6199d900be4389278c9cf6a283341b25ee911d013f
MD5 1f169fdc66bb57af07f8e171c4546a7c
BLAKE2b-256 fbafc05c88ba1594e1bc481cf525b8eca2dc24f5e8bd8287a814f034e12bcb80

See more details on using hashes here.

Provenance

The following attestation bundles were made for logdag-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: logdag-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 91.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a381e7db549fecdc22fbed4b0f48d0b0fada1769af632d397096b0159e270960
MD5 0ca3ebd9d1877c1308ee778995861d74
BLAKE2b-256 1817cb1d22f70f9cd6c5c59b4dae22d8def68f7ad3342915e4622d299e986915

See more details on using hashes here.

Provenance

The following attestation bundles were made for logdag-0.2.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