// This file is autogenerated, DO NOT EDIT
// text-structure/apis/find-field-structure.asciidoc:95

[source, python]
----
resp = client.bulk(
    refresh=True,
    operations=[
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:36,256][INFO ][o.a.l.u.VectorUtilPanamaProvider] [laptop] Java vector incubator API enabled; uses preferredBitSize=128"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,038][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [repository-url]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,042][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [rest-root]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-core]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-redact]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,043][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [ingest-user-agent]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-monitoring]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [repository-s3]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-analytics]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-ent-search]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-autoscaling]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,044][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [lang-painless]]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [lang-expression]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:41,059][INFO ][o.e.p.PluginsService     ] [laptop] loaded module [x-pack-eql]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:43,291][INFO ][o.e.e.NodeEnvironment    ] [laptop] heap size [16gb], compressed ordinary object pointers [true]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:46,098][INFO ][o.e.x.s.Security         ] [laptop] Security is enabled"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:47,227][INFO ][o.e.x.p.ProfilingPlugin  ] [laptop] Profiling is enabled"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:47,259][INFO ][o.e.x.p.ProfilingPlugin  ] [laptop] profiling index templates will not be installed or reinstalled"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:47,755][INFO ][o.e.i.r.RecoverySettings ] [laptop] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:47,787][INFO ][o.e.d.DiscoveryModule    ] [laptop] using discovery type [multi-node] and seed hosts providers [settings]"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:49,188][INFO ][o.e.n.Node               ] [laptop] initialized"
        },
        {
            "index": {
                "_index": "test-logs"
            }
        },
        {
            "message": "[2024-03-05T10:52:49,199][INFO ][o.e.n.Node               ] [laptop] starting ..."
        }
    ],
)
print(resp)

resp1 = client.text_structure.find_field_structure(
    index="test-logs",
    field="message",
)
print(resp1)
----
