mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Uptime] Fix 7.x references to tcp.port (#29132)
This field has been renamed to url.port in heartbeat 7+, update all fields accordingly.
This commit is contained in:
parent
690f4714cb
commit
5098668cb6
3 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ export const FilterBar = ({ dateRangeEnd, dateRangeStart, updateQuery }: Props)
|
|||
},
|
||||
{
|
||||
type: 'field_value_selection',
|
||||
field: 'tcp.port',
|
||||
field: 'url.port',
|
||||
name: i18n.translate('xpack.uptime.filterBar.options.portLabel', {
|
||||
defaultMessage: 'Port',
|
||||
}),
|
||||
|
|
|
@ -12,6 +12,6 @@ export const filterBarSearchSchema = {
|
|||
'monitor.ip': { type: 'string' },
|
||||
'monitor.host': { type: 'string' },
|
||||
'monitor.scheme': { type: 'string' },
|
||||
'tcp.port': { type: 'number' },
|
||||
'url.port': { type: 'number' },
|
||||
},
|
||||
};
|
||||
|
|
|
@ -250,7 +250,7 @@ export class ElasticsearchMonitorsAdapter implements UMMonitorsAdapter {
|
|||
{
|
||||
port: {
|
||||
terms: {
|
||||
field: 'tcp.port',
|
||||
field: 'url.port',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -340,7 +340,7 @@ export class ElasticsearchMonitorsAdapter implements UMMonitorsAdapter {
|
|||
},
|
||||
port: {
|
||||
terms: {
|
||||
field: 'tcp.port',
|
||||
field: 'url.port',
|
||||
},
|
||||
},
|
||||
scheme: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue