]> git.ipfire.org Git - thirdparty/collectd.git/commit
pcie_errors plugin: possibility only to filter messages from log file.
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Wed, 10 May 2017 10:21:54 +0000 (11:21 +0100)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Fri, 22 Nov 2019 12:31:07 +0000 (13:31 +0100)
commitc0c75f7104539ac54ce726f086ad584d22d24964
treefd09ede9bfa6a7a0a781834c69d0c5ad176f5e28
parent2fe84f82c5bcfcf1d2a5cbcdb27a4af5b3ac6875
pcie_errors plugin: possibility only to filter messages from log file.

Add new possible value for submatch index: -1. For this value do not
add the matched string to results. It can be used to only filter
the required messages from syslog without adding the match to result.

Change-Id: I93d9595be77427c135cc09baac901cd919d6c27e
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
src/utils_message_parser.c
src/utils_message_parser.h