From 9374a46543e9c43c009f80def8c3b2506b0b377e Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 3 Apr 2014 03:08:50 +0200 Subject: Imported Upstream version 8.2.0 --- doc/omelasticsearch.html | 177 ----------------------------------------------- 1 file changed, 177 deletions(-) delete mode 100644 doc/omelasticsearch.html (limited to 'doc/omelasticsearch.html') diff --git a/doc/omelasticsearch.html b/doc/omelasticsearch.html deleted file mode 100644 index 618b706..0000000 --- a/doc/omelasticsearch.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - Elasticsearch Output Module - - -

- back

-

- Elasticsearch Output Module

-

- Module Name:    omelasticsearch

-

- Author: Rainer Gerhards <rgerhards@adiscon.com>

-

- Available since: 6.4.0+

-

- Description:

-

- This module provides native support for logging to Elasticsearch.

-

- Action Parameters:

- -
-$template JSONDefault, "{\"message\":\"%msg:::json%\",\"fromhost\":\"%HOSTNAME:::json%\",\"facility\":\"%syslogfacility-text%\",\"priority\":\"%syslogpriority-text%\",\"timereported\":\"%timereported:::date-rfc3339%\",\"timegenerated\":\"%timegenerated:::date-rfc3339%\"}"
-
-

- Which will produce this sort of documents (pretty-printed here for readability):

- -
-{
-    "message": " this is a test message",
-    "fromhost": "test-host",
-    "facility": "user",
-    "priority": "info",
-    "timereported": "2013-03-12T18:05:01.344864+02:00",
-    "timegenerated": "2013-03-12T18:05:01.344864+02:00"
-}
- -

- Samples:

-

- The following sample does the following:

- -
-module(load="omelasticsearch")
-*.*     action(type="omelasticsearch")
-

- The following sample does the following:

- -
-module(load="omelasticsearch")
-template(name="testTemplate"
-         type="list"
-         option.json="on") {
-           constant(value="{")
-             constant(value="\"timestamp\":\"")      property(name="timereported" dateFormat="rfc3339")
-             constant(value="\",\"message\":\"")     property(name="msg")
-             constant(value="\",\"host\":\"")        property(name="hostname")
-             constant(value="\",\"severity\":\"")    property(name="syslogseverity-text")
-             constant(value="\",\"facility\":\"")    property(name="syslogfacility-text")
-             constant(value="\",\"syslogtag\":\"")   property(name="syslogtag")
-           constant(value="\"}")
-         }
-*.* action(type="omelasticsearch"
-           server="myserver.local"
-           serverport="9200"
-           template="testTemplate"
-           searchIndex="test-index"
-           searchType="test-type"
-           bulkmode="on"
-           queue.type="linkedlist"
-           queue.size="5000"
-           queue.dequeuebatchsize="300"
-           action.resumeretrycount="-1")
-

-  

-
-
-

- [rsyslog.conf overview] [manual index] [rsyslog site]

-

- This documentation is part of the rsyslog project.
- Copyright © 2008-2012 by Rainer Gerhards and Adiscon. Released under the ASL 2.0.

- - - -- cgit v1.2.3