2
responses

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>

AskedApril 2, 2015 - 3:05pm

Comments (1)

Answer (1)

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.