Two Mac OS X machines set up to report statistics via TopBeat 1.2.1 (amd64).
One of those machines is the one that Elastic runs on.
Same topbeat config file on both machines.
The elastic search: hosts: line is set to the ip address (http://nn.nn.nn.nn:9200), neither is using the default "localhost" option.
The shipper: name: line is left commented out so that each machine should automatically report the hostname.
One machine, the remote one running OS X 10.11.4, correctly reports the beat.hostname and beat.name as "Foo.local"
The other machine, the one where Elastic is running under OS X 10.10.5, incorrectly reports both of those as "localhost"
Running the hostname command on both machines correctly prints out their names. (i.e. Foo.local and Bar.local)