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

Unable to parse logs (_grokparsefailure). #50

Closed
hacktvist opened this issue Apr 20, 2015 · 5 comments
Closed

Unable to parse logs (_grokparsefailure). #50

hacktvist opened this issue Apr 20, 2015 · 5 comments

Comments

@hacktvist
Copy link

Hi,
I am using dbmail and while shiping /var/log/mail.log, logstash isn't able to parse the logs and in kibana it is showing [tags : _grokparsefailure]

Below is the snippet of my /var/log/mail.log

Apr 20 10:07:35 dbmail postfix/lmtp[29199]: master_notify: status 1
Apr 20 10:07:35 dbmail postfix/lmtp[29199]: connection closed
Apr 20 10:07:35 dbmail postfix/smtpd[29468]: disconnect from mail-la0-f50.google.com[192.168.215.50]
Apr 20 10:07:40 dbmail postfix/smtpd[28310]: connect from localhost[127.0.0.1]
Apr 20 10:07:40 dbmail postfix/smtpd[28310]: disconnect from localhost[127.0.0.1]

Below is the snippet of logstash log
{:timestamp=>"2015-04-20T06:05:24.332000-0400", :message=>"Exception in lumberjack input", :exception=>#<LogStash::ShutdownSignal: LogStash::ShutdownSignal>, :level=>:error}

@whyscream
Copy link
Owner

This output line is not supported:
Apr 20 10:07:35 dbmail postfix/lmtp[29199]: master_notify: status 1

Do you have verbose logging enabled, or where does this come from?

@hacktvist
Copy link
Author

can you mention any wayout for this.

@whyscream
Copy link
Owner

Actually, after re-reading your question, I don't know. The error indicated by logstash has something to do with lumberjack, which I don't use (and has no relation with this project).

If you think that the problem is related to the patterns in this project, then please post a complete error message copy/pasted from kibana that describes an error while parsing a postfix input line.

@hacktvist
Copy link
Author

I tried to parse logs using grok debugger with the patterns listed, but was unable to get any output.

@whyscream
Copy link
Owner

You said you had error messages in kibana. Please show them, there is no way to help you otherwise.

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

No branches or pull requests

2 participants