inex / birdseye

A Simple Secure Micro Service for Querying Bird (JSON API)
MIT License
46 stars 21 forks source link

Add support for BIRD 2.0.7 status output #17

Closed RaidAndFade closed 2 years ago

RaidAndFade commented 2 years ago

BIRD2.0.7 seems to have millisecond accuracy on the timestamps, this patch discards them in the regex

barryo commented 2 years ago

Hi @RaidAndFade - I think you might have missed this section in the README which requires this config:

# Use ISO 8601 time formats:
timeformat base         iso long;
timeformat log          iso long;
timeformat protocol     iso long;
timeformat route        iso long;

I have 2.0.7 working fine without any changes. I'll close this in the hopeful expectation that this resolves your issue. Let me know if not.