File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
elasticsearch-api/lib/elasticsearch/api/actions/ingest Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ module Elasticsearch
2+ module API
3+ module Ingest
4+ module Actions
5+
6+ # Extracts structured fields out of a single text field within a document. You choose which field to extract
7+ # matched fields from, as well as the grok pattern you expect will match.
8+ #
9+ #
10+ # @see https://www.elastic.co/guide/en/elasticsearch/plugins/current/ingest.html
11+ #
12+ def processor_grok ( arguments = { } )
13+ method = Elasticsearch ::API ::HTTP_GET
14+ path = "_ingest/processor/grok"
15+ params = { }
16+ body = nil
17+
18+ perform_request ( method , path , params , body ) . body
19+ end
20+
21+ # Register this action with its valid params when the module is loaded.
22+ #
23+ # @since 6.2.0
24+ ParamsRegistry . register ( :processor_grok , [
25+ ] . freeze )
26+ end
27+ end
28+ end
29+ end
You can’t perform that action at this time.
0 commit comments