fix srcx and hostx for syslog and bump for release

This commit is contained in:
Zane C. B-H 2021-11-08 20:23:42 -06:00
parent feb144fdfe
commit eb0d2f5e28
3 changed files with 39 additions and 36 deletions

View File

@ -1,5 +1,8 @@
Revision history for Search-ESsearcher
0.4.4 2021-11-04/20:30
-Fix srcx and hostx for syslog.
0.4.3 2021-11-04/04:00
-Remove mutate from geoip on fail2ban.
This removes the need for mappings in Elasticsearch.

View File

@ -17,11 +17,11 @@ Search::ESsearcher - Provides a handy system for doing templated elasticsearch s
=head1 VERSION
Version 0.4.3
Version 0.4.4
=cut
our $VERSION = '0.4.3';
our $VERSION = '0.4.4';
=head1 SYNOPSIS

View File

@ -10,11 +10,11 @@ Search::ESsearcher::Templates::syslog - Provides syslog support for essearcher.
=head1 VERSION
Version 1.1.0
Version 1.1.1
=cut
our $VERSION = '1.1.0';
our $VERSION = '1.1.1';
=head1 LOGSTASH
@ -189,14 +189,14 @@ return '
[% IF o.hostx %]
{"query_string": {
"default_field": "host.keyword",
"query": [% o.host.json %]
"query": [% o.hostx.json %]
}
},
[% END %]
[% IF o.srcx %]
{"query_string": {
"default_field": "logsource.keyword",
"query": [% o.src.json %]
"query": [% o.srcx.json %]
}
},
[% END %]