Skip to content

Commit

Permalink
[Logs Shared] Update deprecated Kibana usages (elastic#200973)
Browse files Browse the repository at this point in the history
## 📓 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 <[email protected]>
  • Loading branch information
tonyghiani and Marco Antonio Ghiani authored Nov 21, 2024
1 parent dde84ef commit 7b4f59d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const resolveDataViewReference = async (
});

return {
indices: dataView.title,
indices: dataView.getIndexPattern(),
timestampField: dataView.timeFieldName ?? TIMESTAMP_FIELD,
tiebreakerField: TIEBREAKER_FIELD,
messageField: ['message'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ export const logViewSavedObjectType: SavedObjectsType = {
},
},
},
migrations: {},
};

0 comments on commit 7b4f59d

Please sign in to comment.