Skip to content

Commit eab5632

Browse files
committed
Removed dynamic_field_timestamp from pipeline test config file
1 parent 0aff076 commit eab5632

File tree

5 files changed

+14
-21
lines changed

5 files changed

+14
-21
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
fields:
22
tags:
33
- preserve_duplicate_custom_fields
4-
dynamic_fields:
5-
"@timestamp": ".*"

packages/aws/data_stream/config/_dev/test/pipeline/test-event.log-expected.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"expected": [
33
{
4-
"@timestamp": "2025-05-07T13:18:18.562568394Z",
54
"aws": {
65
"config": {
76
"annotation": "string",

packages/aws/data_stream/config/elasticsearch/ingest_pipeline/default.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,6 @@ processors:
250250
- append:
251251
field: error.message
252252
value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.on_failure_pipeline}}} failed with message: {{{_ingest.on_failure_message}}}'
253-
- set:
254-
tag: set_timestamp
255-
field: "@timestamp"
256-
value: "{{{_ingest.timestamp}}}"
257253
- rename:
258254
field: json.EvaluationResultIdentifier.EvaluationResultQualifier.ConfigRuleName
259255
tag: rename_EvaluationResultIdentifier_EvaluationResultQualifier_ConfigRuleName

packages/aws/data_stream/config/sample_event.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"@timestamp": "2025-05-14T09:24:43.131164267Z",
2+
"@timestamp": "2025-05-15T07:58:22.984Z",
33
"agent": {
4-
"ephemeral_id": "5c3a0fd0-d4fe-4261-9522-c481b46fcb84",
5-
"id": "42651566-3d44-4694-9718-8d7f6da5d102",
6-
"name": "elastic-agent-16692",
4+
"ephemeral_id": "d0c3ee19-2392-4043-b593-6b17777af11d",
5+
"id": "5be90210-85df-4e5b-85b6-88ffdd10983e",
6+
"name": "elastic-agent-81980",
77
"type": "filebeat",
88
"version": "8.18.0"
99
},
@@ -52,14 +52,14 @@
5252
},
5353
"data_stream": {
5454
"dataset": "aws.config",
55-
"namespace": "65231",
55+
"namespace": "98805",
5656
"type": "logs"
5757
},
5858
"ecs": {
5959
"version": "8.17.0"
6060
},
6161
"elastic_agent": {
62-
"id": "42651566-3d44-4694-9718-8d7f6da5d102",
62+
"id": "5be90210-85df-4e5b-85b6-88ffdd10983e",
6363
"snapshot": false,
6464
"version": "8.18.0"
6565
},
@@ -70,7 +70,7 @@
7070
],
7171
"created": "2015-09-29T15:52:31.883Z",
7272
"dataset": "aws.config",
73-
"ingested": "2025-05-14T09:24:43Z",
73+
"ingested": "2025-05-15T07:58:25Z",
7474
"kind": "event",
7575
"original": "{\"ComplianceType\":\"COMPLIANT\",\"ConfigRuleInfo\":{\"ConfigRuleArn\":\"arn:aws:config:us-east-1:11223344556:config-rule/config-rule-id1\",\"ConfigRuleId\":\"config-rule-id1\",\"ConfigRuleName\":\"access-keys-rotated\",\"ConfigRuleState\":\"ACTIVE\",\"Description\":\"Checks whether the active access keys are rotated within the number of days specified in maxAccessKeyAge. The rule is non-compliant if the access keys have not been rotated for more than maxAccessKeyAge number of days.\",\"EvaluationModes\":[{\"Mode\":\"DETECTIVE\"}],\"InputParameters\":\"{\\\"maxAccessKeyAge\\\":\\\"90\\\"}\",\"MaximumExecutionFrequency\":\"TwentyFour_Hours\",\"Source\":{\"Owner\":\"AWS\",\"SourceIdentifier\":\"ACCESS_KEYS_ROTATED\"}},\"ConfigRuleInvokedTime\":1444799479.852,\"EvaluationResultIdentifier\":{\"EvaluationResultQualifier\":{\"ConfigRuleName\":\"access-keys-rotated\",\"EvaluationMode\":\"DETECTIVE\",\"ResourceId\":\"i-0a4468fbfafeeg20h\",\"ResourceType\":\"AWS::EC2::Instance\"},\"OrderingTimestamp\":1443541951.883},\"ResultRecordedTime\":1444799480.061}",
7676
"outcome": "success",

packages/aws/docs/config.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ An example event for `config` looks as following:
7272

7373
```json
7474
{
75-
"@timestamp": "2025-05-14T09:24:43.131164267Z",
75+
"@timestamp": "2025-05-15T07:58:22.984Z",
7676
"agent": {
77-
"ephemeral_id": "5c3a0fd0-d4fe-4261-9522-c481b46fcb84",
78-
"id": "42651566-3d44-4694-9718-8d7f6da5d102",
79-
"name": "elastic-agent-16692",
77+
"ephemeral_id": "d0c3ee19-2392-4043-b593-6b17777af11d",
78+
"id": "5be90210-85df-4e5b-85b6-88ffdd10983e",
79+
"name": "elastic-agent-81980",
8080
"type": "filebeat",
8181
"version": "8.18.0"
8282
},
@@ -125,14 +125,14 @@ An example event for `config` looks as following:
125125
},
126126
"data_stream": {
127127
"dataset": "aws.config",
128-
"namespace": "65231",
128+
"namespace": "98805",
129129
"type": "logs"
130130
},
131131
"ecs": {
132132
"version": "8.17.0"
133133
},
134134
"elastic_agent": {
135-
"id": "42651566-3d44-4694-9718-8d7f6da5d102",
135+
"id": "5be90210-85df-4e5b-85b6-88ffdd10983e",
136136
"snapshot": false,
137137
"version": "8.18.0"
138138
},
@@ -143,7 +143,7 @@ An example event for `config` looks as following:
143143
],
144144
"created": "2015-09-29T15:52:31.883Z",
145145
"dataset": "aws.config",
146-
"ingested": "2025-05-14T09:24:43Z",
146+
"ingested": "2025-05-15T07:58:25Z",
147147
"kind": "event",
148148
"original": "{\"ComplianceType\":\"COMPLIANT\",\"ConfigRuleInfo\":{\"ConfigRuleArn\":\"arn:aws:config:us-east-1:11223344556:config-rule/config-rule-id1\",\"ConfigRuleId\":\"config-rule-id1\",\"ConfigRuleName\":\"access-keys-rotated\",\"ConfigRuleState\":\"ACTIVE\",\"Description\":\"Checks whether the active access keys are rotated within the number of days specified in maxAccessKeyAge. The rule is non-compliant if the access keys have not been rotated for more than maxAccessKeyAge number of days.\",\"EvaluationModes\":[{\"Mode\":\"DETECTIVE\"}],\"InputParameters\":\"{\\\"maxAccessKeyAge\\\":\\\"90\\\"}\",\"MaximumExecutionFrequency\":\"TwentyFour_Hours\",\"Source\":{\"Owner\":\"AWS\",\"SourceIdentifier\":\"ACCESS_KEYS_ROTATED\"}},\"ConfigRuleInvokedTime\":1444799479.852,\"EvaluationResultIdentifier\":{\"EvaluationResultQualifier\":{\"ConfigRuleName\":\"access-keys-rotated\",\"EvaluationMode\":\"DETECTIVE\",\"ResourceId\":\"i-0a4468fbfafeeg20h\",\"ResourceType\":\"AWS::EC2::Instance\"},\"OrderingTimestamp\":1443541951.883},\"ResultRecordedTime\":1444799480.061}",
149149
"outcome": "success",

0 commit comments

Comments
 (0)