Beispiel #1
0
 public void ESEntryTestForPool()
 {
     ArtemisESPower.Register(new Uri[]
     {
         new Uri("http://172.10.252.123:9200"),
         new Uri("http://172.10.252.124:9200")
     });
 }
Beispiel #2
0
        public async Task ESEntryForSingleToRequestAsync()
        {
            ArtemisESPower.Register(new Uri("http://172.10.252.123:9200"));
            ESEntryRequest eSEntryRequest          = new ESEntryRequest();
            IDictionary <string, string> dicWheres = new Dictionary <string, string>();

            dicWheres.Add("message.requestBody", "1906182018024713");
            var result = await eSEntryRequest.ExecuteQueryAsync <HttpLog <Message, Host> >("zfb-thirdparty_log_apihttp*", "doc", 0, 200, dicWheres);
        }
Beispiel #3
0
 public void ESEntryTest()
 {
     ArtemisESPower.Register(new Uri("http://172.10.252.123:9200"));
 }