Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] plotting diagrams with AS paths collected #14

Open
digizeph opened this issue Jul 26, 2022 · 1 comment
Open

[feature] plotting diagrams with AS paths collected #14

digizeph opened this issue Jul 26, 2022 · 1 comment
Labels
enhancement New feature or request search Issue related to search subcommand

Comments

@digizeph
Copy link
Member

We could automatically generate a dot graph file and plot AS-level graphs with graphviz using all AS paths collected from the search command.

Example of AS paths that can be converted to plots:

monocle search -t 2022-07-26T10:00:00Z -T 2022-07-26T12:00:00Z --prefix 188.191.144.0/23 --collector route-views2 --json | grep 105.16.0.247 | jq .as_path
"37100 6453 1273 12389 12389 12389 12389 201776 47598 56446"
"37100 6762 1273 12389 12389 12389 12389 201776 47598 56446"
"37100 3356 6762 12389 201776 47598 56446"
"37100 6762 12389 201776 47598 56446"

We can further annotate each hop with data from whois subcommand.

@digizeph digizeph added enhancement New feature or request search Issue related to search subcommand labels Jul 26, 2022
@digizeph digizeph added this to the V0.0.6 Super-charge Search milestone Jul 26, 2022
@digizeph
Copy link
Member Author

digizeph commented Feb 8, 2023

Better option: use plotly.rs (https://github.com/igiagkiozis/plotly) to create sankey graphs. Sankey graph is supported by the library: https://github.com/igiagkiozis/plotly/blob/master/examples/basic_charts/src/main.rs#L570

Something like this
image
https://plotly.com/python/sankey-diagram/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request search Issue related to search subcommand
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant