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

Update regexp for support multi-instances logs #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Steamvis
Copy link

I have a postfix with the multi_instance_directories parameter, and in the logs my postfix has a name other than postfix, and because of this, the exporter does not collect metrics

regexp example https://regex101.com/r/kKXad6/1

my logs

Feb 24 16:18:40 letterman postfix-new-instance/smtp[59649]: 5270320179: to=<hebj@telia.com>, relay=mail.telia.com[81.236.60.210]:25, delay=2017, delays=0.1/2017/0.03/0.05, dsn=2.0.0, status=sent (250 2.0.0 6FVIjIMwUJwU66FVIjAEB0 mail accepted for delivery)",

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

Successfully merging this pull request may close these issues.

1 participant