Sense query UI in Kibana 5.0 -- HTTP methods names are case sensitive


(Vkroz) #1

Is it just me or anyone else?
I discovered quite confusing behaviour of DevTools (former Sense) in Kibana 5.*. HTTP method names are case-sensitive there, i.e. the following queries behave differently:

	# Works properly
	GET test/events/_search
	{
	  "query": { "match": { "device": "pc" } }
	}

	# Ignores query body and unconditionally returns all documents 
	get test/events/_search
	{
	  "query": { "match": { "device": "pc" } }
	}

I'm not sure if it's a new "feature" or alway was like that, but IMHO looks awkward.


(Jon Budzenski) #2

Because there's a request body Console is converting the uppercase GET to POST, but on the lowercase get it is still sending a get request. If you send POST/post do you get the expected results?


(system) #3

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