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:
Generate amulog database (and its config) as the input log time-series source
Prepare logdag config file by referring
logdag/data/config.conf.defaultGenerate time-series db by
logdag.sourcefeaturesGenerate DAGs by subcommand
makedagSee 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
324f145cb9709c7a975a2055bb83e2cc769819793ddf8ab552a82cf132ebc85b
|
|
| MD5 |
041875ecc68fe28eb5a994586f7be5bb
|
|
| BLAKE2b-256 |
2bd5702b87aa647e39f81c6fb69692ba653c94bfca1c5e3afecefd2cb15d8ee1
|
Provenance
The following attestation bundles were made for logdag-0.3.1.tar.gz:
Publisher:
publish.yml on amulog/logdag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logdag-0.3.1.tar.gz -
Subject digest:
324f145cb9709c7a975a2055bb83e2cc769819793ddf8ab552a82cf132ebc85b - Sigstore transparency entry: 2052835036
- Sigstore integration time:
-
Permalink:
amulog/logdag@f5de40176bb3fe2cf49d6c605725183ef45a244b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/amulog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f5de40176bb3fe2cf49d6c605725183ef45a244b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a456fab1dc8c8ebc381666e070e8518b30f9978a9f7f13d42e391915cf9ca564
|
|
| MD5 |
26f270412392e959dcc451e0acc8c047
|
|
| BLAKE2b-256 |
f2ba390b0f23a4898ffa3e42a4c4917394828822a8384682965f16597cb64925
|
Provenance
The following attestation bundles were made for logdag-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on amulog/logdag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logdag-0.3.1-py3-none-any.whl -
Subject digest:
a456fab1dc8c8ebc381666e070e8518b30f9978a9f7f13d42e391915cf9ca564 - Sigstore transparency entry: 2052835598
- Sigstore integration time:
-
Permalink:
amulog/logdag@f5de40176bb3fe2cf49d6c605725183ef45a244b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/amulog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f5de40176bb3fe2cf49d6c605725183ef45a244b -
Trigger Event:
push
-
Statement type: