-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Grok matching syslog #1846
Comments
You're mixing your bug description with configuration snippets and Logstash output. Could you be a little bit more verbose and use full examples that include the complete input and output? |
Log line like as : <132>2014-10-06T10:15:25.285613+07:00 controller 2014-10-06 10:15:25.285 2388 WARNING nova.compute.api [req-3d87ad12-a13e-4641-8fd2-158cab28850a e3968c446a1a4c6cac12d0516259d714 a3f6dbd085a14fd6afc0c612db2a6960] instances quota exceeded for a3f6dbd085a14fd6afc0c612db2a6960, tried to run 1 instances. Cannot run any more instances of this type
} |
Sorry, I don't understand. You have a message that begins with an ISO8601 timestamp and you're attempting to use a grok expression that begins with " %{HOSTNAME:hostname}"? I just don't see how this is supposed to work. Perhaps this would be a better fit for the Logstash mailing list. |
I'm sorry about my mistake. Here is grok: |
I'm continuing the discussion in the mailing list thread (https://groups.google.com/d/topic/logstash-users/Ikz2xai-6Uc/discussion). So far nothing indicates that there's a bug in Logstash. |
For Logstash 1.5.0, we've moved all plugins to individual repositories, so I have moved this issue to logstash-plugins/logstash-filter-grok#25. Let's continue the discussion there! :) |
I used Rsyslog send to logstash. I write grok like match => { "message" => " %{GREEDYDATA:OS_message}" }.That i get OS_message : controller 2014-10-06 12:27:47.536 1142 WARNING keystone.common.controller [-] RBAC: Bypassing authorization
But when i change match => { "message" => " %{HOSTNAME:hostname} %{GREEDYDATA:OS_message}" }. I get hostname is 00.So,I try to test with grokdebug, i get hostname controller. Anybody can help me explain it.
The text was updated successfully, but these errors were encountered: