Didier
(DDA)
October 26, 2015, 8:30pm
1
Hello,
We have simple code and we would like to validate that log entry was properly indexed.
We ran the command: curl 'localhost:9200/_search' into the JSON interface. However, we get the following error:
{
"error": "ElasticsearchIllegalArgumentException[No feature for name [_search']]",
"status": 400
}
Has anyone ever encountered the same error? Any idea on what could be the issue?
I appreciate your assistance.
dadoonet
(David Pilato)
October 26, 2015, 8:46pm
2
Try curl localhost:9200/_search
Didier
(DDA)
October 27, 2015, 2:27pm
3
Hi David,
Thanks for your suggestion. If I remove the quotation mark like you suggested: localhost:9200/_search
I ran this command in the JSON interface and got a different error message:
{
"error": "IndexMissingException[[localhost:9200] missing]",
"status": 404
}
Regards,
dadoonet
(David Pilato)
October 27, 2015, 2:39pm
4
So you don't use CURL?
May be you are using SENSE?
Well, then only enter _search
Didier
(DDA)
October 27, 2015, 2:53pm
5
Hi David,
Sorry I made a typo. I am using the curl command: curl localhost:9200/_search
I ran this command in the JSON interface and got a different error message:
{
"error": "IndexMissingException[[localhost:9200] missing]",
"status": 404
}
I am not sure if I am using Sense. I am using JSON interface through my web browser. Would you have another suggestion as to how I would run my command in order to check if my log entry was parsed correctly?
Thanks for your assistance.
dadoonet
(David Pilato)
October 27, 2015, 3:39pm
6
What is this JSON interface?