#!/bin/bash # # Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one # or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at # https://securityonion.net/license; you may not use this file except in compliance with the # Elastic License 2.0. {%- set NODEIP = salt['pillar.get']('host:mainip', '') -%} . /usr/sbin/so-common SKIP=0 ######################################### # Options ######################################### usage() { cat < /dev/null 2>&1 done #Start Logstash/Filebeat if [ ! -z "$FB_ENABLED" ]; then /usr/sbin/so-filebeat-start fi if [ ! -z "$LS_ENABLED" ]; then /usr/sbin/so-logstash-start fi if [ ! -z "$EA_ENABLED" ]; then /usr/sbin/so-elastalert-start fi