Text structure The text structure APIs enable you to find the structure of a text field in an Elasticsearch index. Endpoints 4 endpoints GET Find the structure of a text field /_text_structure/find_field_structure POST GET Find the structure of text messages /_text_structure/find_message_structure POST Find the structure of a text file /_text_structure/find_structure POST GET Test a Grok pattern /_text_structure/test_grok_pattern