It works, but is flaky not sure what the silver bullet is, but giggling with the DCR facilities to force it to update may/will eventually kick it into life, or wait a while.
Key is seeing it create the syslog conf files in /etc/rsyslog.d
05-azuremonitoragent-loadomuxsock.conf
Azure Monitor Agent configuration: load rsyslog forwarding module.
$ModLoad omuxsock
10-azuremonitoragent.conf
Azure Monitor Agent configuration: forward logs to azuremonitoragent
$OMUxSockSocket /run/azuremonitoragent/default_syslog.socket
template(name="AMA_RSYSLOG_TraditionalForwardFormat" type="string" string="<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg%")
$OMUxSockDefaultTemplate AMA_RSYSLOG_TraditionalForwardFormat
Forwarding all events through Unix Domain Socket
. :omuxsock:
That's nicer than the * @@127.0.0.1:someport the previous agent used
THEN you also need to check it's spun up the IPC/Domain socket(s)
This one is working
root@syslog01:/usr/local/bin# ls -l /run/azuremonitoragent/*
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_bond.socket
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_djson.socket
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_fluent.socket
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_influx.socket
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_json.socket
-rw------- 1 syslog syslog 5 May 15 11:53 /run/azuremonitoragent/default.lock
-rw-r--r-- 1 root root 5 May 15 11:53 /run/azuremonitoragent/default.pid
-rw-r----- 1 syslog syslog 20 May 15 11:53 /run/azuremonitoragent/default.pidport
srw-rw-rw- 1 syslog syslog 0 May 15 11:53 /run/azuremonitoragent/default_syslog.socket
This one isn't
root@isolatedsyslog01:~# ls -lrt /run/azuremonitoragent/*
-rw-r--r-- 1 root root 4 May 22 10:21 /run/azuremonitoragent/default.pid
-rw------- 1 syslog syslog 4 May 22 10:21 /run/azuremonitoragent/default.lock
And that's why I'm here
this is behind a proxy will ask a separate question but hope the above helps somebody