@adobe/spacecat-shared-utils 1.59.4 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@adobe/spacecat-shared-utils-v1.60.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.59.4...@adobe/spacecat-shared-utils-v1.60.0) (2025-10-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * add log format json ([#1035](https://github.com/adobe/spacecat-shared/issues/1035)) ([a5f82db](https://github.com/adobe/spacecat-shared/commit/a5f82dbfec42af783345058f63d48e1c2e8093c7))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.59.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.59.3...@adobe/spacecat-shared-utils-v1.59.4) (2025-10-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.59.4",
3
+ "version": "1.60.0",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
@@ -63,6 +63,7 @@ const CDN_TRANSFORMATIONS = {
63
63
  'rspContentType',
64
64
  'timeToFirstByte',
65
65
  ],
66
+ 'Log format': 'JSON',
66
67
  'Log file prefix': '{%Y}-{%m}-{%d}T{%H}:{%M}:{%S}.000',
67
68
  'Log file suffix': '.log',
68
69
  'Log interval': '60 seconds',
@@ -89,6 +90,7 @@ const CDN_TRANSFORMATIONS = {
89
90
  'EdgeResponseContentType',
90
91
  'EdgeTimeToFirstByteMs',
91
92
  ],
93
+ 'Log format': 'JSON',
92
94
  'Ownership token': 'Please reach out to Adobe support for obtaining the token once you completed the configuration.',
93
95
  HelpUrl: 'https://developers.cloudflare.com/logs/logpush/logpush-job/enable-destinations/aws-s3/',
94
96
  }),
@@ -112,6 +114,7 @@ const CDN_TRANSFORMATIONS = {
112
114
  'time-to-first-byte',
113
115
  'sc-content-type',
114
116
  ],
117
+ 'Output file format': 'JSON',
115
118
  HelpUrl: 'https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html#enable-standard-logging-cross-accounts',
116
119
  }),
117
120
  'ams-cloudfront': (payload) => ({
@@ -121,6 +124,7 @@ const CDN_TRANSFORMATIONS = {
121
124
  'Delivery Destination Name': payload.deliveryDestinationName,
122
125
  'Destination AWS Account ID': '640168421876',
123
126
  'Path suffix': '/{yyyy}/{MM}/{dd}/{HH}',
127
+ 'Output file format': 'JSON',
124
128
  'Logged Properties': [
125
129
  'date',
126
130
  'time',