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

This project was partially forked from repository LogCausalAnaysis. (https://github.com/amulog/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.1.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.1-py3-none-any.whl (103.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logdag-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 324f145cb9709c7a975a2055bb83e2cc769819793ddf8ab552a82cf132ebc85b
MD5 041875ecc68fe28eb5a994586f7be5bb
BLAKE2b-256 2bd5702b87aa647e39f81c6fb69692ba653c94bfca1c5e3afecefd2cb15d8ee1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: logdag-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 103.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a456fab1dc8c8ebc381666e070e8518b30f9978a9f7f13d42e391915cf9ca564
MD5 26f270412392e959dcc451e0acc8c047
BLAKE2b-256 f2ba390b0f23a4898ffa3e42a4c4917394828822a8384682965f16597cb64925

See more details on using hashes here.

Provenance

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