diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 1b98618a7..c542df0f0 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -9225,7 +9225,7 @@ client.textStructure.findStructure({ ... }) ==== test_grok_pattern Tests a Grok pattern on some text. -{ref}/test-grok-pattern-api.html[Endpoint documentation] +{ref}/test-grok-pattern.html[Endpoint documentation] [source,ts] ---- client.textStructure.testGrokPattern({ grok_pattern, text }) diff --git a/src/api/api/text_structure.ts b/src/api/api/text_structure.ts index 1794e9f8f..032a205a2 100644 --- a/src/api/api/text_structure.ts +++ b/src/api/api/text_structure.ts @@ -76,7 +76,7 @@ export default class TextStructure { /** * Tests a Grok pattern on some text. - * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.13/test-grok-pattern-api.html | Elasticsearch API documentation} + * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.13/test-grok-pattern.html | Elasticsearch API documentation} */ async testGrokPattern (this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise async testGrokPattern (this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithMeta): Promise>