mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Nodes' hostname is now serialized to 'host' to mimic of the same change in ES 1.0 RC1
This commit is contained in:
parent
c0f1e9f715
commit
5aebb91293
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class Utils {
|
|||
InetAddress inetAddress = inetSocketAddress.getAddress();
|
||||
if (inetAddress != null) {
|
||||
builder.field("ip", inetAddress.getHostAddress());
|
||||
builder.field("hostname", inetAddress.getHostName());
|
||||
builder.field("host", inetAddress.getHostName());
|
||||
builder.field("ip_port", inetAddress.getHostAddress() + ":" + inetSocketAddress.getPort());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue