summaryrefslogtreecommitdiffstats
path: root/plugins/omelasticsearch/omelasticsearch.c
Commit message (Collapse)AuthorAgeFilesLines
* fix v8 output interface transaction begin handlingRainer Gerhards2013-10-311-4/+6
|
* omelasticsearch: upgrade to v8 ouptut module interfaceRainer Gerhards2013-10-301-98/+120
| | | | Note that this code here has NOT yet been tested.
* bugfix: omelasticsearch did not compile on platforms without atomic instructionsRainer Gerhards2013-10-181-5/+5
|
* Merge branch 'v7-stable'Rainer Gerhards2013-10-161-3/+3
|\
| * bugfix: omelasticsearch: failed.es counter was only maintained in bulk modeRainer Gerhards2013-10-161-3/+3
| |
* | Merge branch 'v7-stable'Rainer Gerhards2013-10-161-5/+16
|\| | | | | | | | | Conflicts: plugins/omelasticsearch/omelasticsearch.c
| * bugfix: omelasticsearch: did not correctly initialize stats countersRainer Gerhards2013-10-161-0/+3
| | | | | | | | | | | | | | | | This usually did not lead to any problems, because they are in static memory, which is initialized to zero by the OS when the plugin is loaded. But it may cause problems especially on systems that do not support atomic instructions - in this case the associated mutexes also did not get properly initialized.
| * omelasticsearch: add failed.httprequests stats counterRainer Gerhards2013-10-161-0/+5
| |
| * bugfix omelasticsearch: failed.http stats counter had incorrect countRainer Gerhards2013-10-161-5/+8
| |
| * omelasticsearch: straighten out statistics countersRainer Gerhards2013-09-111-13/+13
| | | | | | | | | | | | Conflicts: plugins/omelasticsearch/omelasticsearch.c
* | omelasticsearch: straighten out statistics countersRainer Gerhards2013-09-111-13/+13
| |
* | omelasticsearch: adapt to new stats subsystem extensionsRainer Gerhards2013-09-101-4/+4
|/
* Fixed another issue related to http://bugzilla.adiscon.com/show_bug.cgi?id=464Andre Lorbach2013-07-241-4/+9
| | | | | | Added check for empty batch data in endTransaction function. Avoids sending an unneeded curlPost, can happen when elasticsearch is shutdown while sending data to.
* Fixed a bug in curlPost related to ↵Andre Lorbach2013-07-241-2/+5
| | | | | | http://bugzilla.adiscon.com/show_bug.cgi?id=464 A Check was added for replylen before writting the 0 Byte to the end of reply data.
* Fixed bugid #464 in elasticsearch output moduleAndre Lorbach2013-07-231-0/+6
| | | | | | Added some libcurl options in checkConn to disable the bodyport of the request within this functions. Otherwise libcurl could have created a sigsegv when curl_easy_perform() was called.
* minor code reductionRainer Gerhards2013-07-041-2/+1
|
* bugfix: double-free in omelasticsearchRainer Gerhards2013-07-021-1/+0
| | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=461 Thanks to Marius Ionescu for providing a detailled bug report
* omelasticsearch: _id field support for bulk operationsJérôme Renard2013-04-241-17/+105
| | | | | | also max number of templates for plugin use has been increased to five closes: http://bugzilla.adiscon.com/show_bug.cgi?id=392
* Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2013-01-141-1/+1
|\ | | | | | | | | Conflicts: ChangeLog
| * bugfix: omelasticsearch failed when authentication data was providedRainer Gerhards2013-01-131-1/+1
| | | | | | | | | | | | | | ... at least in most cases it emitted an error message: "snprintf failed when trying to build auth string" Thanks to Joerg Heinemann for alerting us. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=404
| * bugfix: invalid rsyslog-internal macro API useRainer Gerhards2012-11-011-1/+1
| | | | | | | | | | This had no bad effect, because the macro did the same as the one that should have been used.
* | minor cleanupRainer Gerhards2012-12-141-2/+12
| |
* | bugfix: invalid rsyslog-internal macro API useRainer Gerhards2012-11-011-1/+1
| | | | | | | | | | This had no bad effect, because the macro did the same as the one that should have been used.
* | move cJSON to omelasticsearchRainer Gerhards2012-10-291-1/+1
| | | | | | | | | | | | the rsyslog runtime itself now uses json-c, but omelasticsearch currently depends on cJSON. We will change this, but not yet. Let's merge as is and see that it works well ;)
* | omelasticsearch: improved debug loggingRainer Gerhards2012-07-301-2/+5
| |
* | omelasticsearch: support for writing data errors to local file addedRainer Gerhards2012-07-301-14/+95
| |
* | omelasticsearch: mileston: bulk reply is parsedRainer Gerhards2012-07-301-2/+48
| |
* | omelasticsearch: parse JSON response (in regard to data errors)Rainer Gerhards2012-07-251-37/+65
|/ | | | note: bulkmode response processing is still mostly missing
* omelasticsearch: regression from "parent" feature could case abortsRainer Gerhards2012-07-111-23/+26
| | | | this was not present in any released version
* omelasticsearch: support for parameters parent & dynparent addedRainer Gerhards2012-07-101-20/+95
|
* omelasticsearch: implement retry via request to es server homepageRainer Gerhards2012-07-101-10/+60
|
* omelasticsearch: better debug instrumentationRainer Gerhards2012-07-091-15/+33
|
* omelasticsearch: bugfix: bulkmode setting was not properly initializedRainer Gerhards2012-06-131-0/+1
|
* omelasticsearch: dyn index&type now also supported in bulk modeRainer Gerhards2012-05-281-4/+7
|
* omelasticsearc: milestone, bulk insert basically worksRainer Gerhards2012-05-251-50/+65
| | | | | dynamic index&type is not yet used, but easy to add (did not manage to get it in today...)
* omelasticsearch: test commit, first shot at bulk interfaceRainer Gerhards2012-05-251-11/+85
| | | | | This obviously does not work correctly. So expect problems if you set bulkmode="on".
* omelasticsearch: added transactional interface & better debug outputRainer Gerhards2012-05-241-1/+36
|
* omelasticsearch: provide authentication support (UNTESTED)Rainer Gerhards2012-04-251-0/+28
|
* Merge branch 'master' into master-elasticsearchRainer Gerhards2012-04-231-1/+0
|\ | | | | | | | | Conflicts: plugins/omelasticsearch/omelasticsearch.c
| * make "old" omelasticsearch compileRainer Gerhards2012-04-161-1/+0
| | | | | | | | | | this module is to be replaced by branch currently in development. But I want to be able to compile the previous one, at least ;)
* | omelasticsearch: added asnycRepl and timeout config paramsRainer Gerhards2012-04-161-3/+26
| |
* | omelasticsearch: permit dynamic index/type parameters (just like dynafile)Rainer Gerhards2012-04-131-16/+107
| |
* | omelasticsearch: moved to v6 config systemRainer Gerhards2012-04-051-35/+91
|/
* elasticsearch: move to asl 2.0Rainer Gerhards2012-01-171-14/+13
| | | | email conversation Nathan/Rainer 2012-01-16&17
* add elasticsearch output moduleNathan Scott2012-01-171-0/+271
Add support for sending events to elasticsearch - a distributed, RESTful, search engine built on Lucene (www.elasticsearch.org). The output module is enabled via a configure option, and uses libcurl to send the messages from rsyslog to elasticsearch. This patch makes use of the earlier JSON quoting patch to ensure valid JSON strings are sent to the server. Signed-off-by: Nathan Scott <nathans@aconex.com>