How do I find number of BGP route announcements from RIS Raw data (RIPE Network Coordination Centre) if, for example, I want to look at a particular date? If I choose random route collector, download traffic traces for particular time I am interested in, and since those messages are in MRT format, after converting them to text I get information I do not know how to handle. If I select all BGP messages that have "announce" type I am not getting the volume of the data some research papers are referring to. It must be that I am wrong since I found few references stating similar results..and mine are not even close! Please help.
The easiest way is to use pybgpdump
The package includes a tool in the samples directory called simple.py which will summarise the announce/withdrawal count for a given MRT file:
./simple.py -i updates.20070131.2330.gz
2630 total messages with 12028 announced and 5666 withdrawn routes
If you're after an entire day's worth of data, you'll need to download all the 288 files of 5-minute intervals, and then hack simple.py to iterate through the list.