Esempio n. 1
0
 /// <inheritdoc />
 public Task <IGrokProcessorPatternsResponse> GrokProcessorPatternsAsync(IGrokProcessorPatternsRequest request,
                                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                                         ) =>
 Dispatcher
 .DispatchAsync <IGrokProcessorPatternsRequest, GrokProcessorPatternsRequestParameters, GrokProcessorPatternsResponse,
                 IGrokProcessorPatternsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IngestProcessorGrokDispatchAsync <GrokProcessorPatternsResponse>(p, c)
     );
Esempio n. 2
0
 /// <summary>
 /// <c>GET</c> request to the <c>ingest.processor_grok</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get">https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get</a>
 /// </summary>
 public Task <GrokProcessorPatternsResponse> GrokProcessorPatternsAsync(IGrokProcessorPatternsRequest request, CancellationToken ct = default) => DoRequestAsync <IGrokProcessorPatternsRequest, GrokProcessorPatternsResponse>(request, request.RequestParameters, ct);
Esempio n. 3
0
 /// <summary>
 /// <c>GET</c> request to the <c>ingest.processor_grok</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get">https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get</a>
 /// </summary>
 public GrokProcessorPatternsResponse GrokProcessorPatterns(IGrokProcessorPatternsRequest request) => DoRequest <IGrokProcessorPatternsRequest, GrokProcessorPatternsResponse>(request, request.RequestParameters);
Esempio n. 4
0
 /// <inheritdoc />
 public IGrokProcessorPatternsResponse GrokProcessorPatterns(IGrokProcessorPatternsRequest request) =>
 Dispatcher.Dispatch <IGrokProcessorPatternsRequest, GrokProcessorPatternsRequestParameters, GrokProcessorPatternsResponse>(
     request,
     (p, d) => LowLevelDispatch.IngestProcessorGrokDispatch <GrokProcessorPatternsResponse>(p)
     );
Esempio n. 5
0
 public static Task <GrokProcessorPatternsResponse> GrokProcessorPatternsAsync(this IElasticClient client,
                                                                               IGrokProcessorPatternsRequest request,
                                                                               CancellationToken ct = default
                                                                               )
 => client.Ingest.GrokProcessorPatternsAsync(request, ct);
Esempio n. 6
0
 public static GrokProcessorPatternsResponse GrokProcessorPatterns(this IElasticClient client, IGrokProcessorPatternsRequest request)
 => client.Ingest.GrokProcessorPatterns(request);