mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Change EPS for Telegraf
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
THEGREP=$(ps -ef | grep $0 | grep -v grep)
|
THEGREP=$(ps -ef | grep $0 | grep -v grep)
|
||||||
|
|
||||||
if [ ! $THEGREP ]; then
|
if [ ! "$THEGREP" ]; then
|
||||||
|
|
||||||
PREVCOUNTFILE='/tmp/beatseps.txt'
|
PREVCOUNTFILE='/tmp/beatseps.txt'
|
||||||
EVENTCOUNTCURRENT="$(curl -s localhost:5066/stats | jq '.libbeat.output.events.acked')"
|
EVENTCOUNTCURRENT="$(curl -s localhost:5066/stats | jq '.libbeat.output.events.acked')"
|
||||||
|
|||||||
Reference in New Issue
Block a user