mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Use new _graph endpoints (#26956)
This commit is contained in:
parent
dccc2c74b3
commit
eb04a36054
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ module.exports = (function () {
|
|||
const dataForServer = JSON.stringify(request);
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'http://localhost:9200/' + indexName + '/_xpack/graph/_explore',
|
||||
url: 'http://localhost:9200/' + indexName + '/_graph/explore',
|
||||
dataType: 'json',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
async: true,
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
class="list-group-item list-group-item--noBorder"
|
||||
ng-if="(workspace !== null) && (configPanel === 'lastRequest')"
|
||||
>
|
||||
<small class="help-block">http://host:port/{{selectedIndex.name}}/_xpack/graph/_explore</small>
|
||||
<small class="help-block">http://host:port/{{selectedIndex.name}}/_graph/explore</small>
|
||||
<ul class="nav nav-tabs">
|
||||
<li ng-class="{active: spymode === 'request'}">
|
||||
<a
|
||||
|
|
|
@ -12,7 +12,7 @@ export async function callEsGraphExploreApi({ callCluster, index, query }) {
|
|||
return {
|
||||
ok: true,
|
||||
resp: await callCluster('transport.request', {
|
||||
'path': '/' + encodeURIComponent(index) + '/_xpack/graph/_explore',
|
||||
'path': '/' + encodeURIComponent(index) + '/_graph/explore',
|
||||
body: query,
|
||||
method: 'POST',
|
||||
query: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue