Custom tagging for AIX


I am trying to add a custom tag message in front of the logs similar to rsyslog custom tagging, but couldn't find a module on tagging logs.
The solution in te previous forum on tagging didn't work out.


Solution in that forum : Exec $tag = 'hl7out';

Does custom tagging works for AIX ? Please provide a solution for it to reflect it in forwarded logs.

AskedJuly 1, 2019 - 5:29pm

Add custom field at first place in message

Hi everyone,

I would like to add my custom field to log at first place in log. But if i added Exec $senderversion = "3.5.563"; the field will be at last place in log.

is there some way to add a field to the first place ?

My configuration and log sample are below.

Thanks for any answer.

AskedJuly 1, 2019 - 1:30pm

Nxlog for Windows auditing Nxlog service stopped

Hi, I need to know if there is any way to receive an event when Nxlog Windows service is stopped. How can I obtain such notification if I don´t have the service working anymore? Is there a solution to audit this case?

AskedJune 29, 2019 - 5:15am

string(host_ip) is returning a stale IP.

On a Windows machine, I'm currently trying to create a custom field named client_ip and grab the IP address of the sending client. This works, but when I switch IPs, nxlog keeps sending the old stale IP, not the new IP.

Exec $client_ip = string(host_ip());

But, if I restart the nxlog service on the Windows machine, it starts returning the new correct IP. I don't want to have to restart the service.

AskedJune 24, 2019 - 6:34pm

not resume log files

if I start nxlog manul from the command line like

/opt/nxlog/bin/nxlog -c      # RedHat7

everything works fine ; it reads the input logs from the positions when stopped. if I start it as service

systemctl start nxlog

then it ignores all the records of the input logs written while it was stopped. at my input definitions I have

AskedJune 21, 2019 - 11:19am