Skip to main content
PyPI release Python support BSD 3-Clause License Test Documentation

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/amulog/amulog). The output DAG is recorded in the format of NetworkX DiGraph.

This project was partially forked from repository LogCausalAnalysis. (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 the wiki for full documentation (installation, quick start, configuration, causal-discovery methods, and CLI reference), and the tutorial directory for a runnable sample.

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

Metadata

Release files for logdag 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logdag 0.3.3
File Size Uploaded
logdag-0.3.3.tar.gz 125.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for logdag 0.3.3
File Interpreter ABI Platform
logdag-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 229.6 kB

Release files / logdag-0.3.3.tar.gz

Download URL logdag-0.3.3.tar.gz
Size 125.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b3249e520b4481d7637355ab96c35bfd33ab8c3b1c60497027c63224e3284b2e
BLAKE2b-256 checksum
How to use checksums
4961f19f23cee2bcc93eebe3361370e0e962ee6a672cdbcf399d1901dec767ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Release files / logdag-0.3.3-py3-none-any.whl

Download URL logdag-0.3.3-py3-none-any.whl
Size 104.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d8d378ee244b1cf4ad8f940f169f2cecb7663224a32a4c8f0d02b6a35caf6b4
BLAKE2b-256 checksum
How to use checksums
665b446d80345f013c051392584b71d966781f5d0d110fd8cc8416a61b0ecf8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page