Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad regex for iosxr basic parsing #364

Open
Tristou27 opened this issue Apr 23, 2021 · 1 comment
Open

bad regex for iosxr basic parsing #364

Tristou27 opened this issue Apr 23, 2021 · 1 comment

Comments

@Tristou27
Copy link

For the IOSXR regex, the value of the 'timezone' is matched against 3 characters only. This does not take into account 'CEST' timezone for instance. Then the syslog is not matched at all and not parsed.

A possible modification could be in : napalm_logs/config/iosxr/init.yml

 timeZone: \s?(\w\w\w)?

... replaced by ...

 timeZone: \s?(\w{0,5}) # 0 to 5 to include: all possible timezones or no timezone

Would it be possible to change that?

@mirceaulinic
Copy link
Member

Sure @Tristou27 if that fixes it for you, feel free to open a PR. Thanks & sorry for delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants