add Suricata Extract submission stats app (#15105)

* add suricata_extract

* convert from dervive to gauge and use delta

* add suricata_extract to includes/html/pages/apps.inc.php

* graph cleanup

* add sub_size

* add sub_size graph

* add docs for suricata extract

* add tests for suricata_extract

* add rules for suricata extract

* minor test tweaks
This commit is contained in:
Zane C. Bowers-Hadley
2023-06-25 13:48:26 -05:00
committed by GitHub
parent 17f503b40a
commit 00cf300d1a
22 changed files with 472 additions and 0 deletions

View File

@@ -2806,6 +2806,20 @@ setup. If the default does not work, check the docs for it at
suricata_stat_check](https://metacpan.org/dist/Suricata-Monitoring/view/bin/suricata_stat_check)
## Suricata Extract
### SNMP
1. Add the following to your snmpd config and restart. Path may have
to be adjusted depending on where `suricata_extract_submit_extend` is
installed to.
```
extend suricata_extract /usr/local/bin/suricata_extract_submit_extend
```
Then just wait for the system to be rediscovered or enable it manually
for the server in question.
## Systemd
The systemd application polls systemd and scrapes systemd units' load, activation, and sub states.