This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/[email protected]/
[mat-wg] RIPE Atlas JSON traceroutes
- Previous message (by thread): [mat-wg] RIPE Atlas JSON traceroutes
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Philip Homburg
pch-ripeml-1a at u-1.phicoh.com
Thu Apr 19 14:42:04 CEST 2012
In your letter dated Thu, 19 Apr 2012 13:08:40 +0200 you wrote: >has anyone written or found a tool to convert JSON output to a more human >readable format, like traditional traceroute? > >INPUT: > > { > "from": "80.123.123.123", > "fw": 1, > "msm_id": 1234567, > "prb_id": 12345, > "result": "traceroute to 91.228.151.2 (91.228.151.2), 30 hops max, 38 >byte packets NEWLINE 1 192.168.123.123 2.087 ms 1.732 ms 1.928 ms >NEWLINE 2 194.109.123.123 16.650 ms 16.570 ms 17.072 ms NEWLINE", > "timestamp": 1234567890 > }, > >OUTPUT: > >traceroute to 91.228.151.2 (91.228.151.2), 30 hops max, 38 byte packets >1 192.168.123.123 2.087 ms 1.732 ms 1.928 ms >2 194.109.123.123 16.650 ms 16.570 ms 17.072 ms >etc. On some systems, like Linux, the following sed command provides useful results: cat output | sed 's/ *NEWLINE */\n/g'
- Previous message (by thread): [mat-wg] RIPE Atlas JSON traceroutes
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ mat-wg Archives ]