Pmacct as_path graphs

I am trying to make something akin to a sankey graph using showing the ASN paths. I'd like to be able to visualize the full path and each hop, pmacct is my netflow collector it sends the key "as_path" in the format "65001_65002_65003" etc.

There's a couple of issues with this, first as it's in one string I'll need to separate it out and I presume put each AS number into its own key pair? Next the path could be one long, ten long or forty long. Is there a way to break the string down regardless of length? I would have thought that they would have to be in unique key pairs within the index, something like AS#1, AS#2 etc.

Any input on how I would be able to achieve this would be appreciated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.