RPM Specs for Logstash
====================== Files to build grok/logstash RPMs for CentOS/Red Hat Tries to follow the Java packaging guidelines from Fedora.
- Jar: /usr/share/java/logstash.jar
- Config: /etc/logstash/
- Plugins: /usr/share/logstash/
- Script: /usr/bin/logstash
- logrotate
- init script
- Running as user logstash in group logstash
There are two scripts that can be executed in the scripts directory. One will fetch the source files needed (make sure versions are correct in the script) and the other will execute the build.
- scripts/get_sources
- scripts/rpm
Inspiration for this came from various other projects: