This adds a link to the detail view of discover rows to switch to a view of the documents immediately before and after the selected document. Since that view uses the timestamp field of the index pattern, it is only available for time-based indices. See #9198 for detailed screenshots.
59 lines
1.5 KiB
JavaScript
59 lines
1.5 KiB
JavaScript
const shield = require('./shield');
|
|
|
|
const kibanaURL = '/app/kibana';
|
|
|
|
module.exports = {
|
|
servers: {
|
|
webdriver: {
|
|
protocol: process.env.TEST_WEBDRIVER_PROTOCOL || 'http',
|
|
hostname: process.env.TEST_WEBDRIVER_HOSTNAME || 'localhost',
|
|
port: parseInt(process.env.TEST_WEBDRIVER_PORT, 10) || 4444
|
|
},
|
|
kibana: {
|
|
protocol: process.env.TEST_KIBANA_PROTOCOL || 'http',
|
|
hostname: process.env.TEST_KIBANA_HOSTNAME || 'localhost',
|
|
port: parseInt(process.env.TEST_KIBANA_PORT, 10) || 5620,
|
|
auth: shield.kibanaUser.username + ':' + shield.kibanaUser.password,
|
|
username: shield.kibanaUser.username,
|
|
password: shield.kibanaUser.password
|
|
},
|
|
elasticsearch: {
|
|
protocol: process.env.TEST_ES_PROTOCOL || 'http',
|
|
hostname: process.env.TEST_ES_HOSTNAME || 'localhost',
|
|
port: parseInt(process.env.TEST_ES_PORT, 10) || 9220,
|
|
auth: shield.admin.username + ':' + shield.admin.password,
|
|
username: shield.admin.username,
|
|
password: shield.admin.password
|
|
}
|
|
},
|
|
apps: {
|
|
status_page: {
|
|
pathname: 'status'
|
|
},
|
|
discover: {
|
|
pathname: kibanaURL,
|
|
hash: '/discover',
|
|
},
|
|
context: {
|
|
pathname: kibanaURL,
|
|
hash: '/context',
|
|
},
|
|
visualize: {
|
|
pathname: kibanaURL,
|
|
hash: '/visualize',
|
|
},
|
|
dashboard: {
|
|
pathname: kibanaURL,
|
|
hash: '/dashboard',
|
|
},
|
|
settings: {
|
|
pathname: kibanaURL,
|
|
hash: '/management'
|
|
},
|
|
console: {
|
|
pathname: kibanaURL,
|
|
hash: '/dev_tools/console',
|
|
}
|
|
}
|
|
};
|