On 09/07/2021 02:01, David Lang wrote:
> full configuration please.
I've used an identical omelasticsearch config on both CentOS and Ubuntu,
see below. It works on Ubuntu, not on CentOS
Ubuntu package versions:
rsyslog 8.32.0-1ubuntu4
rsyslog-elasticsearch 8.32.0-1ubuntu4
CentOS 8.1 package versions:
rsyslog-elasticsearch-8.1911.0-7.el8_4.2.x86_64
rsyslog-relp-8.1911.0-7.el8_4.2.x86_64
rsyslog-gssapi-8.1911.0-7.el8_4.2.x86_64
rsyslog-gnutls-8.1911.0-7.el8_4.2.x86_64
rsyslog-8.1911.0-7.el8_4.2.x86_64
OpenSearch RC1 from 1 June:
https://opensearch.org/downloads.html
CentOS 8.1 host is a fresh install.
/etc/rsyslog.conf is default
/etc/rsyslog.d/reConServer-test.conf:
module(load="mmjsonparse")
*.* :mmjsonparse:
template(name="isJSON" type="list") {
property(name="$!all-json")
}
module(load="omelasticsearch")
*.* action(type="omelasticsearch"
template="isJSON"
server="my-server"
serverport="9200"
searchIndex="log"
uid="admin"
pwd="my secret")
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.