Logstash 1.5.0 RC3 - Patterns

(Szymon Raclawicki) #1

Hi Guys,

I think I got a bit lost since the upgrade to 1.5.0. Basically, right now I am not sure
where are the patterns? Do I need to install logstash-patterns-core? Is there any documentation
showing how I can install it?



Hi Szymon,

logstash 1.5 architecture is split in plugins to ease versioning and updates,
so even the patterns are packaged into a gem and handled as a specific project in github for issues and pull requests: https://github.com/logstash-plugins/logstash-patterns-core.

But as before a logstash release contains everything needed to get started.
For example in 1.5.0rc4 package you can find back the patterns in


If an update would be applied to the pattern and the next version would be published you could then run

bin/plugin update logstash-patterns-core

to fetch these changes only without needing to reinstall a full logstash tarball.


(Szymon Raclawicki) #3

Hi wiibaa,

Many thanks for the reply. Now I got it.

What if I want to include my custom patterns?
Should I as before refer to a specific directory
in my configs?



Indeed the patterns_dir parameter behaviour is unchanged.
Alternatively you can still drop your patterns file into the patterns/ folder at the root of your logstash installation for them to be auto-loaded.

(system) #5