more misc doc stuff and cleanup

This commit is contained in:
Zane C. B-H 2023-01-29 10:36:08 -06:00
parent cd11f8b392
commit 1662883728
3 changed files with 21 additions and 2 deletions

View File

@ -37,6 +37,10 @@ my %WriteMakefileArgs = (
'Sys::Syslog' => '0',
'YAML::PP' => '0',
'File::Slurp' => '0',
'TOML' => '0',
'Term::ANSIColor' => '0',
'MIME::Base64' => '0',
'Sys::Hostname' => '0',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Lilith-*' },

View File

@ -559,7 +559,7 @@ sub extend {
die( 'DBI->connect_cached failure.. ' . $@ );
}
my $hostname = 'nibbles0.vulpes.vvelox.net';
my $hostname = hostname;
#
# suricata SQL bit

View File

@ -18,7 +18,7 @@ lilith [B<-c> <config>] B<-a> event [B<-t> <table>] B<--id> <row_id>
lilith [B<-c> <config>] B<-a> event [B<-t> <table>] B<--event> <event_id>
lilith [B<-c> <config>] B<-a> extend
lilith [B<-c> <config>] B<-a> extend [B<-Z>] [B<-m> <minutes>]
lilith [B<-c> <config>] B<-a> generate_baphomet_yamls B<--dir> <dir>
@ -87,6 +87,19 @@ Fetch event via row ID.
Fetch the event via the event ID.
=head2 extend
Prints a LibreNMS style extend.
=head3 -Z
Enable Gzip+Base64 LibreNMS style extend compression.
=head3 -m <minutes>
How far back to search. For the extend action, 5 minutes
is the default.
=head2 -a generate_baphomet_yamls
Generate the YAMLs for Baphomet.
@ -126,6 +139,8 @@ How far back to to in minutes.
- Default :: 1440
- Default, extend :: 5
=head4 --order <column>
Column to use for sorting by.