Custom tags

Tags:

#1 bigfoot

Can I insert a custom tag (right now it is not present "-" ) somehow like this maybe:
<Input hl7out>
Module         im_file
File         'C:\Connectivity\mcf\log\hl7out.log'
Exec        $tag = hl7out
</Input>

#3 adm Nxlog ✓ (Last updated )
#1 bigfoot
Can I insert a custom tag (right now it is not present "-" ) somehow like this maybe: <Input hl7out> Module         im_file File         'C:\Connectivity\mcf\log\hl7out.log' Exec        $tag = hl7out </Input>

You can add custom fields this way. Note that strings must be quoted and the semicolon is required at the end of the statement.

Exec        $tag = 'hl7out';

The new field (i.e. tag) will be only visible in your output if you reformat it using to_json(), to_syslog_ietf(), to_csv(), etc or pass it on as Binary.