236 Commits

Author SHA1 Message Date
Rainer Gerhards
a0093d8f52 bugfix: README.md was missing in release tarball
closes: https://github.com/rsyslog/rsyslog/issues/91
2014-06-18 21:03:53 +02:00
Pavel Levshin
1064e566bc add module mmsequence 2013-10-16 13:39:35 +02:00
Rainer Gerhards
a8b1e96d7b Merge branch 'v7-stable-mmrfc5424addhmac'
Conflicts:
	Makefile.am
	configure.ac
	runtime/msg.c
	runtime/rsyslog.h
2013-09-26 12:41:50 +02:00
Rainer Gerhards
593c8e41d1 milestone: mmpstrucdata parses STRUCTURED-DATA (but does not yet store it) 2013-09-23 16:10:12 +02:00
Rainer Gerhards
8929d2f71b mmutf8fix: new module to fix invalid UTF-8 sequences 2013-09-20 11:10:33 +02:00
Rainer Gerhards
d5dad734ab Merge branch 'v7-stable-mmrfc5424addhmac'
Conflicts:
	Makefile.am
	configure.ac
2013-09-20 09:06:03 +02:00
Rainer Gerhards
b1e2559b17 mmrfc5424addhmac: add module skeleton 2013-09-18 17:12:33 +02:00
Rainer Gerhards
33035d9213 Merge branch 'v7-stable' 2013-06-25 11:19:50 +02:00
Rainer Gerhards
e343346c1e debug: add memleak info to "make distcheck"
do --enable-valgrind to get better diagnostics in case of
memory leaks
2013-06-25 10:54:41 +02:00
Rainer Gerhards
712bf14db2 Merge branch 'master-mmfields'
Conflicts:
	Makefile.am
	configure.ac
2013-06-11 17:59:22 +02:00
Bala.FA
2eb19f15a4 mmcount: message modification plugin which counts messages
This module provides the capability to count log messages by severity
or json property of given app-name.  The count value is added into the
log message as json property named 'mmcount'

Example usage of the module in the configuration file

 module(load="mmcount")

 # count each severity of appname gluster
 action(type="mmcount" appname="gluster")

 # count each value of gf_code of appname gluster
 action(type="mmcount" appname="glusterd" key="!gf_code")

 # count value 9999 of gf_code of appname gluster
 action(type="mmcount" appname="glusterfsd" key="!gf_code" value="9999")

 # send email for every 50th mmcount
 if $app-name == 'glusterfsd' and $!mmcount <> 0 and $!mmcount % 50 == 0 then {
    $ActionMailSMTPServer smtp.example.com
    $ActionMailFrom rsyslog@example.com
    $ActionMailTo glusteradmin@example.com
    $template mailSubject,"50th message of gf_code=9999 on %hostname%"
    $template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'"
    $ActionMailSubject mailSubject
    $ActionExecOnlyOnceEveryInterval 30
    :ommail:;RSYSLOG_SyslogProtocol23Format
 }

Signed-off-by: Bala.FA <barumuga@redhat.com>
2013-06-09 18:11:14 +02:00
Rainer Gerhards
68a3e0b2f5 mmfields: created skeleton for new module; build system integration 2013-06-07 14:14:11 +02:00
Rainer Gerhards
54853ad0e9 fix regression in build system 2013-04-29 14:08:14 +02:00
John Lyman
0b42cf3fdc bugfix: build problems on Solaris
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=436
2013-04-25 10:28:08 +02:00
Rainer Gerhards
654ad0a775 imjournal: streamline build system a bit
... most importantly the configure switch is no longer --enable-journal
but --enable-imjournal (as we now also have omjournal!)
2013-03-12 15:23:39 +01:00
Milan Bartos
289e54fdb5 Add imjournal module for reading messages from systemd journal.
For reading messages with all fields from structured systemd journal
log messages.
Loading module with $ModLoad imjournal is enough to start pulling messages
no other configuration is needed.

	modified:   Makefile.am
	modified:   configure.ac
	new file:   plugins/imjournal/Makefile.am
	new file:   plugins/imjournal/imjournal.c
	new file:   plugins/imjournal/imjournal.h
2013-03-05 12:01:51 +01:00
Rainer Gerhards
edc57d9f8f add initial version of mmanon (anonymoization support) 2013-02-28 17:56:53 +01:00
Rainer Gerhards
c6f2dea215 add support for writing to the Linux Journal (omjournal) 2013-02-26 09:21:21 +01:00
Rainer Gerhards
365d921fbf Merge branch 'v7-stable' 2013-01-28 13:14:20 +01:00
Rainer Gerhards
53f183be99 move platfrom-specific files to their own subdirectory 2013-01-28 13:13:18 +01:00
Rainer Gerhards
5b1d439837 remove outdated sample rsyslog.conf 2013-01-28 13:02:30 +01:00
Rainer Gerhards
f373968c66 Merge branch 'v7-stable-libnet-frag'
Conflicts:
	ChangeLog
	configure.ac
	tools/omfile.c
2013-01-11 09:39:27 +01:00
Rainer Gerhards
53b3895f75 fix compile problem due to new (Solaris) compat layer
The compat layer was not fully integrated into the build system,
causing ./configure to fail.
2013-01-10 18:32:10 +01:00
Rainer Gerhards
25dd212bd0 fix compile problem due to new (Solaris) compat layer
The compat layer was not fully integrated into the build system,
causing ./configure to fail.
2013-01-10 18:30:52 +01:00
Rainer Gerhards
5f2dd7ba0d bugfix/testbench: tls tests failed in make distcheck due to missing files 2012-12-14 12:37:04 +01:00
Rainer Gerhards
74efc39564 Merge branch 'v6-stable' into beta
Conflicts:
	plugins/cust1/Makefile.am
2012-10-04 18:45:11 +02:00
Rainer Gerhards
76c80165e9 Merge branch 'v5-stable' into v6-stable 2012-10-04 18:44:14 +02:00
Rainer Gerhards
80466e20d1 remove cust1 dummy plugin from build system
Thanks to Michael Biebl for identifying this as the culprit for
several build-related issues. The plugin is a placeholder, and was
not used for quite some while. It is definitely not worth the effort
to keep it along. If needed, can be quickly created.
2012-10-04 18:42:52 +02:00
Milan Bartos
6e3980abbd Added new module, imkmsg, for structured kernel logs from /dev/kmsg.
This is still in development, bute ready to be commited to master.

	modified:   Makefile.am
	modified:   configure.ac
	new file:   plugins/imkmsg/Makefile.am
	new file:   plugins/imkmsg/imkmsg.c
	new file:   plugins/imkmsg/imkmsg.h
	new file:   plugins/imkmsg/kmsg.c
2012-09-24 08:45:33 +02:00
Rainer Gerhards
0c786a66ac Merge branch 'v6-stable' into v6-devel
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2012-09-06 12:55:09 +02:00
Rainer Gerhards
9aec3a6e5f preparing for 6.4.1 release 2012-09-06 12:46:19 +02:00
Rainer Gerhards
8985d50fea Merge branch 'v5-stable' into v5-beta 2012-06-15 16:10:32 +02:00
Rainer Gerhards
8380a17cd6 Merge branch 'beta' 2012-06-14 18:31:13 +02:00
Abby Edwards
e91c8d5f23 adding pkgconfigdir definition to Makefile.am to help build properly 2012-06-13 15:48:57 +02:00
Abby Edwards
a201072a65 adding pkgconfigdir definition to Makefile.am to help build properly 2012-06-13 15:45:58 +02:00
David Kelly
cbff73d94c added new-style zeromq plugins, based on czmq api and rsyslog v6 conf 2012-05-29 13:05:59 +02:00
Brian Knox
1262b90373 initial shot at omhiredis 2012-03-21 07:40:43 +01:00
Rainer Gerhards
931c63e44b build system: fully integrating ommongodb 2012-03-07 14:35:22 +01:00
Rainer Gerhards
e983e13053 mmaudit: added skeleton (copy of mmjsonparse) 2012-02-23 18:06:38 +01:00
Rainer Gerhards
6689756624 added mmjsonparse to support recognizing and parsing JSON enhanced syslog messages 2012-02-21 12:12:51 +01:00
Rainer Gerhards
52380b313f cleanup: remove omdbalerting
someone claimed to write a module with this functionality, if a
template were provided. And indeed, it was provided but never
anything happend (at least nothing was contributed back...). Removing
this silly template now. If someone really intends to take up on it,
get a copy from older git versions.
2012-01-27 12:11:26 +01:00
Rainer Gerhards
3367446c0a Merge branch 'v5-devel'
Conflicts:
	ChangeLog
	configure.ac
2012-01-27 11:47:16 +01:00
Rainer Gerhards
fdcf69caf9 Merge branch 'v5-stable-newstats' into v5-devel
Conflicts:
	configure.ac
2012-01-27 11:25:59 +01:00
Rainer Gerhards
a418fb87ee Merge branch 'v4-stable' into v5-stable 2012-01-21 17:18:16 +01:00
Rainer Gerhards
e4c6373b4f license docs were not properly redistributed
thanks to Tomas Heinrich for alerting me.
2012-01-21 17:17:23 +01:00
Rainer Gerhards
03be2fcd7c Merge branch 'v5-devel' into master
Conflicts:
	ChangeLog
	Makefile.am
	configure.ac
	doc/manual.html
	plugins/imptcp/imptcp.c
	plugins/imudp/imudp.c
	plugins/imuxsock/imuxsock.c
	runtime/parser.c
	template.c
	tools/omfwd.c
	tools/syslogd.c
2012-01-18 14:51:33 +01:00
Nathan Scott
f8019d52f8 add elasticsearch output module
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>
2012-01-17 10:31:37 +01:00
Rainer Gerhards
4ccbb80ca1 removed imtemplate/omtemplate template modules, as this was waste of time
The actual input/output modules are better copy templates. Instead, the
now-removed modules cost time for maintenance AND often caused confusion
on what their role was.
2012-01-09 15:59:01 +01:00
Rainer Gerhards
641e383b8a milestone: grammar integrated in rsyslog build system 2011-07-05 08:21:04 +02:00
Rainer Gerhards
715b9fe052 preparing for 6.1.8 release 2011-05-21 04:18:51 +02:00