Skip to content

Commit

Permalink
Merge pull request #150 from weslambert/elastalert
Browse files Browse the repository at this point in the history
ElastAlert: Updates
  • Loading branch information
dougburks authored Jan 4, 2018
2 parents a5675a3 + f9e11f0 commit 5b24e93
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/elastalert/rules/bro_conn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: frequency

# (Required)
# Index to search, wildcard supported
index: logstash-bro*
index: "*:logstash-bro*"

use_strftime_index: true

Expand Down
2 changes: 1 addition & 1 deletion etc/elastalert/rules/ids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ es_host: elasticsearch
es_port: 9200
name: Security Onion ElastAlert - New IDS Event!
type: frequency
index: logstash-ids*
index: "*:logstash-ids*"
num_events: 1
timeframe:
minutes: 1
Expand Down
7 changes: 6 additions & 1 deletion usr/sbin/sosetup-elastic
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,12 @@ EOF
echo "# Please wait while stopping and disabling Kibana..." | tee -a $LOG
docker stop so-kibana >> $LOG 2>&1
sed -i 's|KIBANA_ENABLED="yes"|KIBANA_ENABLED="no"|g' $CONF


echo "91"
echo "# Please wait while stopping and disabling ElastAlert..." | tee -a $LOG
docker stop so-elastalert >> $LOG 2>&1
sed -i 's|ELASTALERT_ENABLED="yes"|ELASTALERT_ENABLED="no"|g' $CONF

echo "93"
echo "# Please wait while stopping and disabling MySQL..." | tee -a $LOG
service mysql stop >> $LOG 2>&1
Expand Down

0 comments on commit 5b24e93

Please sign in to comment.