Skip to content

Commit

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

## Summary

Adapt UA test fixtures to be compatible with the upstream breaking
change elastic/elasticsearch#117933
  • Loading branch information
rudolf authored Dec 18, 2024
1 parent ccdd662 commit 8011cbf
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 8011cbf

Please sign in to comment.