Hi All,
I am using graph and it works fine on Kibana.
When I copy the Request from kibana and paste it to terminal it shows Missing kbn-version header error.
Also, Does graph has java api to get 'Response' that I can see on Kibana?
Please help me.
curl -XPOST http://10.0.0.3:5601/credit_te/_graph/explore/?pretty -d ' { "query": { "query_string": { "default_field": "_all", "query": "1" } }, "controls": { "use_significance": true, "sample_size": 2000, "timeout": 5000 }, "connections": { "vertices": [ { "field": "label", "size": 5, "min_doc_count": 3 } ] }, "vertices": [ { "field": "label", "size": 5, "min_doc_count": 3 } ] }' {"statusCode":400,"error":"Bad Request","message":"Missing kbn-version header"}