Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saving visualization error when "/" in the graph title #1550

Closed
TiNico22 opened this issue Oct 7, 2014 · 1 comment
Closed

saving visualization error when "/" in the graph title #1550

TiNico22 opened this issue Oct 7, 2014 · 1 comment
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience PR sent
Milestone

Comments

@TiNico22
Copy link

TiNico22 commented Oct 7, 2014

The error occur when saving a visualization with a "/" in the Title field

Request sent
{"title":"IP dissemination 3 / a","visState":"{"type":"pie","aggs":[{"type":"count","schema":"metric","params":{}},{"type":"terms","schema":"segment","params":{"field":"SRC","size":20,"order":"desc"}},{"type":"terms","schema":"segment","params":{"field":"DST","size":10,"order":"desc"}}]}","description":"","savedSearchId":"Internal SRC","kibanaSavedObjectMeta":{"searchSourceJSON":"{"index":"logstash-*"}"}}

Error in the Kibana 4 web page
Visualization Editor: Request to Elasticsearch failed: "Bad Request"

KbnError@http://192.168.0.1:5601/index.js:38314:7
RequestFailure@http://192.168.0.1:5601/index.js:38341:1
@http://192.168.0.1:5601/index.js:79603:9
qFactory/defer/deferred.promise.then/wrappedErrback@http://192.168.0.1:5601/index.js:20772:15
qFactory/defer/deferred.promise.then/wrappedErrback@http://192.168.0.1:5601/index.js:20772:15
qFactory/createInternalRejectedPromise/<.then/<@http://192.168.0.1:5601/index.js:20905:13
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://192.168.0.1:5601/index.js:21892:9
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://192.168.0.1:5601/index.js:21704:15
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://192.168.0.1:5601/index.js:21996:13
done@http://192.168.0.1:5601/index.js:17569:34
completeRequest@http://192.168.0.1:5601/index.js:17783:7
createHttpBackend/</xhr.onreadystatechange@http://192.168.0.1:5601/index.js:17726:1

@TiNico22 TiNico22 changed the title saving visualisation error when "/" in the graph name saving visualization error when "/" in the graph name Oct 7, 2014
@TiNico22 TiNico22 changed the title saving visualization error when "/" in the graph name saving visualization error when "/" in the graph title Oct 7, 2014
@spalger
Copy link
Contributor

spalger commented Oct 7, 2014

Looks like this might be an escaping error in kibana server. It must be decoding the url before it proxies the request.

The url going to the server is:

http://localhost:8000/elasticsearch/kibana-int/search/stuff%2Fthings

but the error coming back is:

No handler found for uri [/kibana-int/search/stuff/things] and method [POST]

and executing the same request directly to elasticsearch using curl generates:

No handler found for uri [/elasticsearch/kibana-int/search/stuff%2Fthings]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience PR sent
Projects
None yet
Development

No branches or pull requests

4 participants