Found it, missing a character. Please try again.
Success!! Small error on very last output line, but suricata is running. Thanks!
EDIT: Disreagard small error, it's on my end. All good.
Code:
##
##Suricata Log
## by @juched - Process logs into SQLite3 for stats generation - v1.0
suricata_log.sh
Logfile used is /opt/var/log/suricata/fast.log
Date used is 2020-08-16 (30 days ago is 2020-07-17)
Creating threat_log table if needed...
Deleting old threat_log records older than 30 days...
All done!
Calculating Threats data...
Outputting Threats ...
16/8/2020 -- 17:56:15 - <Info> - Running suricata under test mode
Warning: Output_interface not supplied by user. Falling back on default_output_interface "Console"
16/8/2020 -- 17:56:15 - <Notice> - This is Suricata version 4.1.8 RELEASE
16/8/2020 -- 17:56:15 - <Info> - CPUs/cores online: 3
16/8/2020 -- 17:56:15 - <Info> - fast output device (regular) initialized: fast.log
16/8/2020 -- 17:56:15 - <Warning> - [ERRCODE: SC_WARN_NO_STATS_LOGGERS(261)] - stats are enabled but no loggers are active
16/8/2020 -- 17:56:16 - <Info> - 20 rule files processed. 3122 rules successfully loaded, 0 rules failed
16/8/2020 -- 17:56:16 - <Info> - Threshold config parsed: 0 rule(s) found
16/8/2020 -- 17:56:16 - <Info> - 3122 signatures processed. 225 are IP-only rules, 567 are inspecting packet payload, 2469 inspect application layer, 0 are decoder event only
16/8/2020 -- 17:56:19 - <Notice> - Configuration provided was successfully loaded. Exiting.
16/8/2020 -- 17:56:19 - <Info> - cleaning up signature grouping structure... complete
Starting suricata... done.
-sh: getcwd: No such file or directory
Last edited: