Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow up on #9048 by updating data and utilities #9060

Merged
merged 6 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cypress_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
options: --user 1001
env:
START_CMD: ${{ matrix.config == 'query_enhanced' &&
'node scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false --uiSettings.overrides["query:enhancements:enabled"]=true --uiSettings.overrides[''home:useNewHomePage'']=true --data_source.enabled=true --opensearch.ignoreVersionMismatch=true' ||
'node scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false --uiSettings.overrides["query:enhancements:enabled"]=true --uiSettings.overrides[''home:useNewHomePage'']=true --data_source.enabled=true --workspace.enabled=true --opensearch.ignoreVersionMismatch=true' ||
matrix.config == 'dashboard' &&
'node scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true' ||
'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false --uiSettings.overrides["query:enhancements:enabled"]=false' }}
Expand Down
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how come data-logs-1? also its little bit redundant since the first part of the folder is data-logs-1/data_logs* couldn't it just be data-logs-1/large_time_range etc

Binary file not shown.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this specific to query enhancements? seems like any plugin could utilize this which i think would be preferable instead of each plugin adding more data files.

Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"mappings": {
"properties": {
"category": {
"type": "keyword"
},
"status_code": {
"type": "integer"
},
"response_time": {
"type": "float"
},
"bytes_transferred": {
"type": "long"
},
"event_sequence_number": {
"type": "long"
},
"request_url": {
"type": "keyword"
},
"service_endpoint": {
"type": "keyword"
},
"personal": {
"type": "nested",
"properties": {
"user_id": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"age": {
"type": "integer"
},
"email": {
"type": "keyword"
},
"address": {
"type": "nested",
"properties": {
"street": {
"type": "keyword"
},
"city": {
"type": "keyword"
},
"country": {
"type": "keyword"
},
"coordinates": {
"type": "nested",
"properties": {
"lat": {
"type": "float"
},
"lon": {
"type": "float"
}
}
}
}
},
"birthdate": {
"type": "date"
}
}
},
"timestamp": {
"type": "date"
},
"event_time": {
"type": "date"
}
}
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"mappings": {
"properties": {
"category": {
"type": "keyword"
},
"status_code": {
"type": "integer"
},
"response_time": {
"type": "float"
},
"bytes_transferred": {
"type": "long"
},
"event_sequence_number": {
"type": "long"
},
"request_url": {
"type": "keyword"
},
"service_endpoint": {
"type": "keyword"
},
"personal": {
"type": "nested",
"properties": {
"user_id": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"age": {
"type": "integer"
},
"email": {
"type": "keyword"
},
"address": {
"type": "nested",
"properties": {
"street": {
"type": "keyword"
},
"city": {
"type": "keyword"
},
"country": {
"type": "keyword"
},
"coordinates": {
"type": "nested",
"properties": {
"lat": {
"type": "float"
},
"lon": {
"type": "float"
}
}
}
}
},
"birthdate": {
"type": "date"
}
}
},
"timestamp": {
"type": "date"
},
"event_time": {
"type": "date"
}
}
}
}
Loading
Loading