How to get beat.name(filebeat) as Docker HostIP

You could add a custom fields in your configuration to help identify them?

fields:
  myfield: "abc?"

or with an environment variables

field:
  myfield: ${NAME:beats}