Skip to content

Commit

Permalink
[Chore] Update timeline default expression
Browse files Browse the repository at this point in the history
Update default expression from `.es(*)` to `opensearch(*)`.
Both work, but we'd prefer the latter

Signed-off-by: Josh Romero <rmerqg@amazon.com>
  • Loading branch information
joshuarrrr committed Nov 1, 2022
1 parent 0c9ca96 commit a16af6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/plugins/vis_type_timeline/public/timeline_vis_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const getTimelineVisualizationConfig = (
expression: {
types: ['string'],
aliases: ['_'],
default: '".es(*)"',
default: '".opensearch(*)"',
help: '',
},
interval: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_timeline/public/timeline_vis_type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function getTimelineVisDefinition(dependencies: TimelineVisDependencies)
}),
visConfig: {
defaults: {
expression: '.es(*)',
expression: '.opensearch(*)',
interval: 'auto',
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_timeline/public/to_ast.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('timeline vis toExpressionAst function', () => {
beforeEach(() => {
vis = {
params: {
expression: '.es(*)',
expression: '.opensearch(*)',
interval: 'auto',
},
} as any;
Expand Down

0 comments on commit a16af6b

Please sign in to comment.