{
"es_index": "test_expert_index",
"es_password": "*****",
"es_url": "http://39.103.149.209:8199",
"es_user": "elastic",
"graph_id": 29,
"sql_db": "tianxin",
"sql_password": "*****",
"sql_table": "graph_node_relation",
"sql_url": "118.178.240.145:8121",
"sql_user": "elastic"
}
curl --location --request POST '/data/sql2es' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"es_index": "test_expert_index",
"es_password": "*****",
"es_url": "http://39.103.149.209:8199",
"es_user": "elastic",
"graph_id": 29,
"sql_db": "tianxin",
"sql_password": "*****",
"sql_table": "graph_node_relation",
"sql_url": "118.178.240.145:8121",
"sql_user": "elastic"
}'
{
"header": {
"code": 200,
"message": "success"
},
"body": {
"status": 1
}
}