I was copied whole output since I might miss out any command or something, sorry for long code but I could not understand what is "No endpoint or operation" and second terminal output too. Is it anything wrong with my curl commands? - Thanks advance
elk@ubuntu:~/Desktop/Experiment/CSV 2 JSON/Data converstion/Pcap5$ curl -XGET localhost:9200/test5/pcap5?pretty
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "No endpoint or operation is available at [pcap5]"
}
],
"type" : "illegal_argument_exception",
"reason" : "No endpoint or operation is available at [pcap5]"
},
"status" : 400
}
and another output:
elk@ubuntu:~/Desktop/Experiment/CSV 2 JSON/Data converstion/Pcap5$ curl -XGET localhost:9200/test5/_search?pretty --data-binary @protocol_aggs.json
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 4329,
"max_score" : 0.0,
"hits" : [ ]
},
"aggregations" : {
"players" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [ ]
}
}
}