diff --git a/inlong-agent/agent-installer/conf/installer.properties b/inlong-agent/agent-installer/conf/installer.properties index d74e2d23e47..aed969cb094 100755 --- a/inlong-agent/agent-installer/conf/installer.properties +++ b/inlong-agent/agent-installer/conf/installer.properties @@ -38,6 +38,4 @@ agent.cluster.name=default_agent # audit config ############################ # whether to enable audit -audit.enable=true -# Use the audit proxy address if the audit proxy address is configured; otherwise get the proxy address from the manager -audit.proxys=127.0.0.1:10081 \ No newline at end of file +audit.enable=true \ No newline at end of file diff --git a/inlong-agent/bin/agent-config.sh b/inlong-agent/bin/agent-config.sh index 828c4decb01..895a7d546d0 100755 --- a/inlong-agent/bin/agent-config.sh +++ b/inlong-agent/bin/agent-config.sh @@ -25,7 +25,6 @@ clusterTag=$(cat $installerConfigFile|grep -i 'agent.cluster.tag'|awk -F = '{pri clusterName=$(cat $installerConfigFile|grep -i 'agent.cluster.name'|awk -F = '{print $2}') tdwSecurityUrl=$(cat $installerConfigFile|grep -i 'tdw.security.url'|awk -F = '{print $2}') auditFlag=$(cat $installerConfigFile|grep -i 'audit.enable'|awk -F = '{print $2}') -auditProxy=$(cat $installerConfigFile|grep -i 'audit.proxys'|grep -v '#'|awk -F = '{print $2}') if [ ${#managerAddr} -gt 0 ]; then sed -i "/agent.manager.addr=*/c\agent.manager.addr=$managerAddr" $agentConfigFile @@ -62,10 +61,3 @@ if [ ${#auditFlag} -gt 0 ]; then else echo "audit flag empty" fi - -if [ ${#auditProxy} -gt 0 ]; then - sed -i "/audit.proxys=*/c\audit.proxys=$auditProxy" $agentConfigFile -else - sed -i "/audit.proxys=*/c\# audit.proxys=$auditProxy" $agentConfigFile - echo "audit proxy empty" -fi diff --git a/inlong-agent/conf/agent.properties b/inlong-agent/conf/agent.properties index 679b2987a57..ec5637eb086 100755 --- a/inlong-agent/conf/agent.properties +++ b/inlong-agent/conf/agent.properties @@ -98,5 +98,3 @@ agent.prometheus.exporter.port=9080 ############################ # whether to enable audit audit.enable=true -# Use the audit proxy address if the audit proxy address is configured; otherwise get the proxy address from the manager -audit.proxys=127.0.0.1:10081