Method: Elasticsearch::API::Ingest::Actions#processor_grok
- Defined in:
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
#processor_grok(arguments = {}) ⇒ Object
Returns a list of the built-in patterns.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/elasticsearch/api/actions/ingest/processor_grok.rb', line 31 def processor_grok(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'ingest.processor_grok' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET path = '_ingest/processor/grok' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end |