• logstsha 发送数据到数据节点


    hostsedit
    Value type is uri
    Default value is [//127.0.0.1]
    Sets the host(s) of the remote instance. If given an array it will load balance requests across the hosts specified in the hosts 
    
    parameter. Remember the http protocol uses the http address (eg. 9200, not 9300). "127.0.0.1" ["127.0.0.1:9200","127.0.0.2:9200"] 
    
    ["http://127.0.0.1"] ["https://127.0.0.1:9200"] ["https://127.0.0.1:9200/mypath"] (If using a proxy on a subpath) It is important 
    
    to exclude dedicated master nodes from the hosts list to prevent LS from sending bulk requests to the master nodes. So this 
    
    parameter should only reference either data or client nodes in Elasticsearch.
    
    Any special characters present in the URLs here MUST be URL escaped! This means # should be put in as %23 for instance.
    
    
    
    指定 远程实例的hosts,如果给定一个数组 它会负载均衡请求到 指定的主机。
    
    
    
    
    记住 http 协议使用http 地址(如9200 而不是9300)
    
    
     "127.0.0.1" ["127.0.0.1:9200","127.0.0.2:9200"] ["http://127.0.0.1"] ["https://127.0.0.1:9200"] ["https://127.0.0.1:9200/mypath"] 
    
    
    (如果 使用一个代理在一个子路径) 它是重要的 排除专用的主机从主机列表 来防止 发送bulk请求到master 节点
    
    因此这个参数应该只能引用数据或者客户端节点在Elasticsearch
    

  • 相关阅读:
    Codeforces Round #603 (Div. 2)
    【bzoj1997】[Hnoi2010]Planar(平面图+2-sat)
    【poj3207】Ikki's Story IV
    【HDU1814】Peaceful Commission(2-sat+暴力染色)
    Educational Codeforces Round 77 (Rated for Div. 2)
    【hdu3311】Dig The Wells(斯坦纳树+dp)
    [USACO3.3] A Game
    [TJOI2013] 单词
    [USACO3.3] Home on the Range
    [NOI2011] 阿狸的打字机
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349870.html
Copyright © 2020-2023  润新知