Is there a way to specify the directory to install the plugin to? Our home directory of logstash is not in /usr/share/logstash or the /etc/logstash. I have ran the install command but i am not sure if it was installed in the right place.
Welcome to the community!
I don't see that option. The plugin should be inserted by LS itself. If I'm not wrong, in the subdirectory in logstash/vendor/bundle/jruby//gems
Thank you for the reply. Is there a way to test plugin is working properly?
How to test? Send data to LS, include plugin in your .conf and test.
Not sure are you developing a custom plugin or have an issue with the included plugin.
Few suggestions:
-
Increase the log level in logstash.yml
log.level: trace
config.debug: true
Check LS logging options. Its possible to set more details on a particular level, check_node/logging
-
Review you .conf file, test you .conf file:
sudo bin/logstash-f <path_to_config_file> -t
-
If is still there a problem, remove everything from the filter until your data show up in the output, can be a file
output {
file {
path => "/path/data-%{+YYYY-MM}.txt"
}
}
- Add debugging in the output
output {
stdout { codec => rubydebug }
}
- If still not working please specify:
- LS &OS version, container or not
- Which plugin cause problem
- Logs
- Sample data, can be usable dummy
- Your conf file
Thanks ! That helped a narrow it down. looks like the plugin is working fine.