Try setting the /AgentSetup/integration/publishHostName configuration variable in the agent configuration to the desired hostname.
Hope this helps!
Thanks for your reply,but as I know, /AgentSetup/integration/publishHostName is just for displayed host name in the device list,not for mc_host_address slot in the events.
we have the right hostname in the mc_host slot ,but just mc_host_address is IPV6 address.not IPV4 address.
I have tried to set /AgentSetup/BindToAddress configuration variable, and then stop agent and delete it from TSPS console,and then start agent.it correct it now