Update your Logstash patterns!

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Update your Logstash patterns!

Post by vAJ »

Wanted to pass on a reminder for everyone to update your Logstash patterns.

I was having issues with Logstash not parsing the Cisco ASA-6-302016 messages correctly, leading to a grokparsefailure. Found this GitHub thread: https://github.com/elastic/logstash/issues/1369 that addressed it.

Since Logstash v1.5, Logstash maintains their built-in patterns separately from their app code. You can update your built-in patterns by:

Code: Select all

cd /usr/local/nagioslogserver/logstash/bin
./plugin update logstash-patterns-core
Which should give you an output like:

Code: Select all

Updating logstash-patterns-core
Updated logstash-patterns-core 0.1.10 to 0.4.0
Keep calm and parse on.

-Andrew
Last edited by vAJ on Mon Feb 29, 2016 11:51 am, edited 2 times in total.
Andrew J. - Do you even grok?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Update your Logstash patterns!

Post by jolson »

Thanks for the heads up!
wKsXocIps.jpg
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Update your Logstash patterns!

Post by vAJ »

Should also note that you'll need to update the grok filters that call those patterns as well. Check for definitions here: https://github.com/logstash-plugins/log ... r/patterns
Andrew J. - Do you even grok?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update your Logstash patterns!

Post by ssax »

Thank you for posting that, I'm sure future visitors will find it helpful. Are we okay to close this thread or is there anything else related that we can help with?
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Update your Logstash patterns!

Post by vAJ »

Lock it up!
Andrew J. - Do you even grok?
Locked