PascalWithopf
8ceaddde35
imfile: add posibility to truncate msg
...
closes https://github.com/rsyslog/rsyslog/issues/1552
2017-05-19 12:04:02 +02:00
PascalWithopf
f16e37fa0e
imptcp: add new parameter flowControl
2017-05-17 08:24:39 +02:00
Rainer Gerhards
7b6f76f4b9
Merge pull request #1554 from rgerhards/osx
...
make rsyslog build on osx
2017-05-15 11:27:56 +02:00
Rainer Gerhards
470c7be57c
build system adaptions for osx
2017-05-15 10:22:20 +02:00
Rupert
a6a24abf13
portability: fixes needed to build on osx
...
Thanks to github user hdatma
2017-05-15 09:05:05 +02:00
a4614d78cf
imkafka: Code cleanup and makefile corrections
...
Added --enable-omkafka back and added --enable-imkafka to configure
options. Only if both are enabled, kafka tests can be used and run.
testbench: replaced old kafka tests with new ones using imkafka/omkafka
imkafka: Added support to custom parameters from confParam
confParam works simular like in omkafka and can be used to set
custom parameters.
testbench: Added missing new kafka testfile
2017-05-12 14:23:37 +02:00
Pascal Withopf
8a84f775d5
imkafka: add new parameter confParam ( #1 )
...
testbench: Fixed testbench settings for new imkafka/omkafka tests
2017-05-11 14:05:38 +02:00
f5438bdea2
imkafka: Initial version if imkafka added
...
Basic features need to be added now.
testbench: Added kafka test with multi kafka instances
All kafka instances are connected to one zookeeper instance.
Diag script has been adjusted to propper start/stop single
kafka instances.
autotools: Added version check for librdkafka to be higher than 0.9.1
2017-05-09 11:15:20 +02:00
Rainer Gerhards
0d35f40356
testbench: reduce kafka test verbosity
...
(squash) enhance kafka test
2017-05-09 11:14:42 +02:00
PascalWithopf
3f789a4458
imfile: add error message when file is not found and parameter to disable this message
2017-05-02 10:54:56 +02:00
Rainer Gerhards
55e9ee87fc
Merge pull request #1529 from PascalWithopf/imptcp-discardTruncatedMsg
...
imptcp: add new parameter discardTruncatedMsg
2017-04-26 12:22:05 +02:00
Rainer Gerhards
5e27f96554
Merge pull request #1527 from PascalWithopf/imtcpMaxFrame
...
imtcp: add parameter maxFrameSize
2017-04-26 12:21:01 +02:00
PascalWithopf
054edbc728
imptcp: add new parameter discardTruncatedMsg
2017-04-26 08:24:23 +02:00
PascalWithopf
08c265d24d
imtcp: add new parameter discardTruncatedMsg
2017-04-25 08:54:00 +02:00
PascalWithopf
01feb44bf1
imtcp: add parameter maxFrameSize
2017-04-20 12:58:57 +02:00
Rainer Gerhards
6b07d0701a
Merge pull request #1523 from PascalWithopf/maxFrameSize
...
imptcp: add parameter maxFrameSize
2017-04-20 11:47:28 +02:00
Rainer Gerhards
da9fdb61e0
Merge pull request #1490 from PascalWithopf/imptcpConnectionMsg
...
imptcp: add optional connection tracking message
2017-04-20 11:45:33 +02:00
PascalWithopf
9bfb9a5824
imptcp: add optional connection tracking message
...
closes https://github.com/rsyslog/rsyslog/issues/1488
2017-04-20 09:21:13 +02:00
PascalWithopf
b224c75425
imptcp: add parameter maxFrameSize
2017-04-20 08:14:42 +02:00
Rainer Gerhards
94bba07b7f
Merge pull request #1522 from PascalWithopf/octetCountedError
...
imptcp: fix Segmentation Fault when octet count is too high
2017-04-19 15:44:11 +02:00
PascalWithopf
0381a0de64
imptcp: fix Segmentation Fault when octet count is to high
2017-04-19 13:06:30 +02:00
Rainer Gerhards
4bc93978c4
Merge pull request #1520 from jvymazal/rateLimit-procName
...
Rate limit proc name
2017-04-19 11:20:39 +02:00
Jiri Vymazal
f4958b5487
Putting process name into ratelimiter with imuxsock
2017-04-19 09:13:07 +02:00
Rainer Gerhards
4fffe0ec7e
Merge pull request #1500 from rgerhards/imptcp-more-debug
...
imptcp: improve debug output and error messages
2017-04-19 08:57:54 +02:00
Rainer Gerhards
f0f0d3bd34
Merge pull request #1504 from PascalWithopf/i-1497
...
imptcp: remove debug output used for testing
2017-04-13 16:57:37 +02:00
Rainer Gerhards
5529562f96
imptcp: improve debug output and error messages
...
imptcp had very limited debug messages and also did not emit error
messages in important cases. This has been enhanced. Possibly there
is some potential for even more debug messages, but we wanted not
to overdue it...
closes https://github.com/rsyslog/rsyslog/issues/1499
2017-04-13 16:34:53 +02:00
Rainer Gerhards
9f95005ebf
Merge pull request #1511 from PascalWithopf/solaris
...
workaround for solaris testbench
2017-04-13 16:20:55 +02:00
Rainer Gerhards
8d67c03d45
solaris: fix coding issues
2017-04-11 10:18:42 +02:00
Yury Bushmelev
fd8a741812
Add 'origin' field to 'omkafka' plugin stats output
2017-04-07 13:21:12 +08:00
PascalWithopf
a2e7464218
imptcp: remove debug output used for testing
...
An unnecessary debug output from development was accidentally left in a pull request.
see https://github.com/rsyslog/rsyslog/pull/1497
2017-04-06 09:08:41 +02:00
Rainer Gerhards
896c6bde69
Merge pull request #1497 from jgerhards/i1480
...
imptcp: add new error message functionality and tests
2017-04-05 16:58:23 +02:00
Jan Gerhards
14ff653076
imptcp: add recognition for custom delimiter for truncating error messages
2017-04-05 09:00:24 +02:00
Jan Gerhards
a636227457
add test for long tcflood without frame delimiter
2017-04-04 13:10:02 +02:00
Jan Gerhards
16d2e0da84
imptcp: add functionality to show message and remaining length when truncating messages
...
closes https://github.com/rsyslog/rsyslog/issues/1480
2017-04-04 11:21:47 +02:00
af6f54e48b
imfile: Setting GLOB_BRACE to ZERO if not available on platform
...
This should fix compile problems in issue:
https://github.com/rsyslog/rsyslog/issues/1494
2017-04-03 15:18:07 +02:00
Rainer Gerhards
803734c47c
Merge pull request #1429 from nbrownus/imptcp-mode
...
Add ability to set owner/group/access perms for imptcp uds
2017-04-02 10:38:48 +02:00
Rainer Gerhards
8ee87e818b
Merge pull request #1380 from PascalWithopf/i-625
...
mmnormalize: add possibility to get rule from string
2017-03-31 14:01:02 +02:00
Pascal Withopf
0de9a5bcd7
mmnormalize: add possibility to get rule from array
2017-03-31 09:30:09 +02:00
Jan Gerhards
2be33580de
imptcp: add test for message truncation and fix errormessage
2017-03-29 10:44:14 +02:00
Nate Brown
ea5f3b8e72
Add ability to set owner/group/access perms for imptcp uds
2017-03-24 16:59:55 -07:00
Radovan Sroka
b1ee125022
Fixed omsnmp new-config issue
...
When omsnmp was configured via new-config, init_snmp wasn't called.
2017-03-22 16:03:26 +01:00
Jon Henry
425472b085
Honor input name if provided when submitting to impstats. Fixes #1470
2017-03-20 13:42:51 +00:00
Rainer Gerhards
1228a62f28
Merge pull request #1460 from rgerhards/reissue-1441
...
core/file handling: add new error messages
2017-03-16 10:24:33 +01:00
192ab107f2
imfile: Fixed an issue monitoring wrong files when using multiple imfile inputs
...
The bug was introduced by the changes for the multilevel wildcard feature
which has been added recently. We have to handle FileCreate events different
if the directory watch is configured or added dynamically.
closes https://github.com/rsyslog/rsyslog/issues/1452
2017-03-08 14:35:19 +01:00
Rainer Gerhards
cd51ae3647
core: enable internal messages at any time
...
previous code could deadlock if internal messages were issued
inside queue processing code, which effectively limited
error-reporting capabilities. This change makes it possible
to call error messages from any part of the code at any time.
This comes at the price of slightly delayed message output.
2017-03-07 09:27:49 +01:00
Chris Pilkington
de2a9f531a
Fixed debug messages "imuxsock" -> "immark".
2017-02-23 23:22:14 +11:00
Rainer Gerhards
6e04729b08
Merge pull request #1422 from wdauchy/pythonic
...
plugins: more pythonic way to remove LF
2017-02-23 09:26:20 +01:00
Rainer Gerhards
1d308947f5
Merge pull request #1392 from radosroka/systemd-time
...
Fixed situation when time goes backwards
2017-02-20 08:22:49 +01:00
William Dauchy
5fc045f8e3
plugins: more pythonic way to remove LF
...
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
2017-02-16 17:44:32 +01:00
Radovan Sroka
f2df6ed2f3
Fixed situation when time goes backwards
...
This is resolving the situation when system is after reboot and boot_id doesn't match
so cursor pointing into "future".
Usually sd_journal_next jump to head of journal due to journal aproximation,
but when system time goes backwards and cursor is still invalid, rsyslog stops logging.
We use sd_journal_get_cursor to validate our cursor.
When cursor is invalid we are trying to jump to the head of journal
This problem with time should not affect persistent journal,
but if cursor has been intentionally compromised it could stop logging even
with persistent journal.
2017-02-16 15:30:26 +01:00