mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Added support for running on node with local=true
ip_port field is set to "_local[NODEID]". Closes #
This commit is contained in:
parent
6a4e0db5b2
commit
d44e83f3a2
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ public class Utils {
|
|||
builder.field("host", inetAddress.getHostName());
|
||||
builder.field("ip_port", inetAddress.getHostAddress() + ":" + inetSocketAddress.getPort());
|
||||
}
|
||||
} else if (node.address().uniqueAddressTypeId() == 2) { // local transport
|
||||
builder.field("ip_port", "_" + node.address()); // will end up being "_local[ID]"
|
||||
}
|
||||
|
||||
if (!node.attributes().isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue