vast import bgpdump

Synopsis


usage: import bgpdump [<parameters>]

imports BGPdump logs from STDIN or file

parameters:
  [-h | -? | --help] <boolean>   prints the help text
  [--documentation?] <boolean>   prints the Markdown-formatted documentation
  [-l | --listen] <string>       the port number to listen on
  [-r | --read] <string>         path to input where to read events from
  [-s | --schema-file] <string>  path to alternate schema
  [-S | --schema] <string>       alternate schema as string
  [-t | --type] <string>         type the data should be parsed as
  [-d | --uds] <boolean>         treat -r as listening UNIX domain socket

Documentation

The bgpdump import format consumes ASCII data as rendered by the bgpdump utility. For example, the following command imports BGPdump data into VAST:

bgpdump -m data | vast import bgpdump

The typical output of bgpdump -m looks like this:

BGP4MP|1408579214|STATE|2a02:20c8:1f:1::4|50304|3|2
BGP4MP|1408579214|STATE|2800:9b0:0:1::1|52342|3|2
BGP4MP|1408579214|A|2001:8e0:0:ffff::9|8758|2a01:6040:27f::/48|8758 3356 3549 15194|IGP|2001:8e0:0:ffff::9|0|0|3356:2 3356:22 3356:86 3356:503 3356:601 3356:666 3356:911 3356:2067 8758:110 8758:300|NAG||
BGP4MP|1408579214|A|2607:fad8::1:3|22652|2610:1e8::/32|22652 11670 11814|IGP|2607:fad8::1:3|0|0||AG||
BGP4MP|1408579214|A|79.143.241.12|29608|157.100.228.0/24|29608 6453 6453 6453 1299 19169 27947|IGP|79.143.241.12|0|12|6453:86 6453:2000 6453:2200 6453:2203 29608:30100|NAG||
BGP4MP|1408579214|A|79.143.241.12|29608|157.100.195.0/24|29608 6453 6453 6453 1299 19169 27947|IGP|79.143.241.12|0|12|6453:86 6453:2000 6453:2200 6453:2203 29608:30100|NAG||