"No endpoint or operation" and doc_count_error_upper_bound" : 0,

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" : [ ]
}
}
}

The first query is missing /_search? - I am guessing 'pcap5' is a type in the 'test5' index?

localhost:9200/test5/pcap5?pretty

should be:
localhost:9200/test5/pcap5/_search?pretty

The second query looks to be executing ok, there must be something in your "aggs" that is meaning there are no matchers- perhaps an unruly filter?

hth,

Paul

Yeah , got it man. Thanks, my fault, If you don't mind can you suggest some tutorials or links or blogs(I'm learning by doing only - just by Googling it)

Ha ha I am doing the same thing - the elastic reference documentation and a willingness to experiment are the best resources I could find :wink:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.