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?
Regards,
Szymon
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?
Regards,
Szymon
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
vendor\bundle\jruby\1.9\gems\logstash-patterns-core-0.1.10\patterns
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.
HTH
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?
Regards,
Szymon
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.