mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Logs Shared] Update deprecated Kibana usages (#200973)
## 📓 Summary The `logs_shared` plugin was still relying on internal [deprecated kibana APIs](https://docs.elastic.dev/kibana-dev-docs/api-meta/deprecated-api-list-by-plugin#logsshared). These changes update the usage with the related recommendation. Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
This commit is contained in:
parent
dde84ef67c
commit
7b4f59d978
2 changed files with 1 additions and 2 deletions
|
@ -106,7 +106,7 @@ const resolveDataViewReference = async (
|
|||
});
|
||||
|
||||
return {
|
||||
indices: dataView.title,
|
||||
indices: dataView.getIndexPattern(),
|
||||
timestampField: dataView.timeFieldName ?? TIMESTAMP_FIELD,
|
||||
tiebreakerField: TIEBREAKER_FIELD,
|
||||
messageField: ['message'],
|
||||
|
|
|
@ -40,5 +40,4 @@ export const logViewSavedObjectType: SavedObjectsType = {
|
|||
},
|
||||
},
|
||||
},
|
||||
migrations: {},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue