Skip to content

Commit

Permalink
Fix UA fixtures after ES 9 deprecation fields had breaking change (el…
Browse files Browse the repository at this point in the history
…astic#203418)

## Summary

Adapt UA test fixtures to be compatible with the upstream breaking
change elastic/elasticsearch#117933
  • Loading branch information
rudolf authored and JoseLuisGJ committed Dec 19, 2024
1 parent 114778f commit 33f2aa0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const CHARS_POOL = 'abcdefghijklmnopqrstuvwxyz';
const getRandomString = () => `${chance.string({ pool: CHARS_POOL })}-${Date.now()}`;

const deprecationMock = {
'event.dataset': 'deprecation.elasticsearch',
'event.dataset': 'elasticsearch.deprecation',
'@timestamp': '2021-12-06T16:28:11,104Z',
'log.level': 'CRITICAL',
'log.logger':
Expand All @@ -30,7 +30,7 @@ const deprecationMock = {
message:
'[types removal] Specifying include_type_name in get index template requests is deprecated.',
'data_stream.type': 'logs',
'data_stream.dataset': 'deprecation.elasticsearch',
'data_stream.dataset': 'elasticsearch.deprecation',
'data_stream.namespace': 'default',
'ecs.version': '1.7',
'elasticsearch.event.category': 'types',
Expand Down

0 comments on commit 33f2aa0

Please sign in to comment.