Created
September 8, 2017 14:36
-
-
Save ycyr/73a6d2cfc10b8161d165facd535d284d to your computer and use it in GitHub Desktop.
filebeat.sh custom centos5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to run {.beat_name} in foreground with the same path settings that | |
# the init script / systemd unit file would do. | |
/usr/local/filebeat/filebeat \ | |
-path.home /usr/local/filebeat \ | |
-path.config /etc/filebeat \ | |
-path.data /var/lib/filebeat \ | |
-path.logs /var/log/filebeat \ | |
$@ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment