1<?php 2 3declare(strict_types = 1); 4 5namespace Elasticsearch\Endpoints\Ingest\Pipeline; 6 7use Elasticsearch\Common\Exceptions; 8use Elasticsearch\Endpoints\AbstractEndpoint; 9 10/** 11 * Class ProcessorGrok 12 * 13 * @category Elasticsearch 14 * @package Elasticsearch\Endpoints\Ingest 15 * @author Zachary Tong <zach@elastic.co> 16 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 17 * @link http://elastic.co 18 */ 19class ProcessorGrok extends AbstractEndpoint 20{ 21 public function getURI(): string 22 { 23 return "/_ingest/processor/grok"; 24 } 25 26 public function getParamWhitelist(): array 27 { 28 return []; 29 } 30 31 public function getMethod(): string 32 { 33 return 'GET'; 34 } 35} 36