Index Tool for Search #107
@ -117,7 +117,7 @@ def generate_os_host_list(hosts):
|
||||
|
||||
|
||||
def create_index(client, index, data):
|
||||
return client.indices.create(index, body=json.dumps(data))
|
||||
return client.indices.create(index=index, body=data)
|
||||
|
||||
|
||||
def delete_index(client, index):
|
||||
|
Reference in New Issue
Block a user