Wire keywords (standard handler keywords documented in Wire )
// Events from the process table have quotes, we don't want quotes
set noquotes create event { name: "noquotes" priority: 1 }
// tr
create handler replacechar {
tr: $noquotes "'" " "
regevent: $psevents
}
Events accepted when filtering value:
| Type | Description |
|---|---|
| AW_EVENT_TYPE_STRING | Apply tr to event |
| Event Name | Type | Description |
|---|---|---|
| copy | AW_EVENT_TYPE_STRING | Copy of original event with substituted string |
| Type | Description |
|---|---|
| any | Copy of original event with substituted string |
| Event Name | Type | Description |
|---|---|---|
| copy | any | Copy of original event with substituted string |
#include "monitor.h"
#include "wire.h"
#include "regexmatch.h"
Go to the source code of this file.
Data Structures | |
| struct | aw_replacechar_tr_filter_t |
| Event to generate w/tr. More... | |
| struct | aw_replacecharhandler_t |
| Replacechar handler object. More... | |
Functions | |
| aw_replacecharhandler_t * | aw_create_replacecharhandler (u_int32_t nfilters, aw_replacechar_tr_filter_t *filters, u_int32_t alternate, int32_t(*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), int32_t(*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), const aw_alarm_sched_t *sched, aw_logger_t *logger) |
| Create a string filter handler. | |
| void | aw_free_replacecharhandler (aw_replacecharhandler_t *h) |
| Free handler and all associated resources. | |
| aw_handler_t * | aw_wire_replacecharhandler (aw_wire_mkhandler_args_t *args) |
| Create a replacecharhandler using "wire". See header doc for keyword documentation. | |
|
||||||||||||||||||||||||||||||||
|
Create a string filter handler. aw_create_replacecharhandler
|
|
|
Free handler and all associated resources. aw_free_replacecharhandler
|
|
|
Create a replacecharhandler using "wire". See header doc for keyword documentation. aw_wire_replacecharhandler |