// This file is autogenerated, DO NOT EDIT
// docs/index_.asciidoc:544

[source, python]
----
resp = client.index(
    index="my-index-000001",
    id="1",
    document={
        "@timestamp": "2099-11-15T13:12:00",
        "message": "GET /search HTTP/1.1 200 1070000",
        "user": {
            "id": "kimchy"
        }
    },
)
print(resp)
----
