Variables in Logging Prefix

Is there anybody out there that can maybe tell me if it is possible to include a variable in the log prefix.

What I am trying to do is to include the system identity in the log prefix in the event log I am sending to the syslog server. We have about 300 routers out in the field and I would like to import a script that will not make me have to go and change every router’s log prefix to the router’s name.

Isn’t the syslog server able to see the IP address of the sender? If it is, you can identify the routers that way.

If it can’t… well…

/ip firewall filter set [find] log-prefix=([/system identity get name])