-
-
Notifications
You must be signed in to change notification settings - Fork 597
fixed auto conversion of the JSON object at the buddy reply #3395
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clt❌ CLT tests in test/clt-tests/kibana/test-kibana-log-to-test-script.rec––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X HEAD -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.apm-agent-configuration'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_xpack'
––– output –––
OK
––– input –––
curl -s -X PUT -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 602' -H 'Connection: keep-alive' -d '{"settings":{"index.auto_expand_replicas":"0-1"},"mappings":{"properties":{"@timestamp":{"type":"date"},"service":{"properties":{"name":{"type":"keyword","ignore_above":1024},"environment":{"type":"keyword","ignore_above":1024}}},"settings":{"properties":{"transaction_sample_rate":{"type":"scaled_float","scaling_factor":1000,"ignore_malformed":true,"coerce":false},"capture_body":{"type":"keyword","ignore_above":1024},"transaction_max_spans":{"type":"short"}}},"applied_by_agent":{"type":"boolean"},"agent_name":{"type":"keyword","ignore_above":1024},"etag":{"type":"keyword","ignore_above":1024}}}}' 'localhost:9308/.apm-agent-configuration'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana_task_manager'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana_task_manager'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_cat/templates/kibana_index_template*?format=json'
––– output –––
OK
––– input –––
curl -s -X PUT -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 1225' -H 'Connection: keep-alive' -d '{"mappings":{"dynamic":"strict","properties":{"config":{"dynamic":"true","properties":{"buildNum":{"type":"keyword"}}},"migrationVersion":{"dynamic":"true","type":"object"},"type":{"type":"keyword"},"namespace":{"type":"keyword"},"updated_at":{"type":"date"},"references":{"type":"nested","properties":{"name":{"type":"keyword"},"type":{"type":"keyword"},"id":{"type":"keyword"}}},"task":{"properties":{"taskType":{"type":"keyword"},"scheduledAt":{"type":"date"},"runAt":{"type":"date"},"startedAt":{"type":"date"},"retryAt":{"type":"date"},"schedule":{"properties":{"interval":{"type":"keyword"}}},"attempts":{"type":"integer"},"status":{"type":"keyword"},"params":{"type":"text"},"state":{"type":"text"},"user":{"type":"keyword"},"scope":{"type":"keyword"},"ownerId":{"type":"keyword"}}}},"_meta":{"migrationMappingPropertyHashes":{"config":"87aca8fdb053154f11383fce3dbf3edf","migrationVersion":"4a1746014a75ade3a714e1db5763276f","type":"2f4316de49999235636386fe51dc06c1","namespace":"2f4316de49999235636386fe51dc06c1","updated_at":"00da57df13e94e9d98437d13ace4bfe0","references":"7997cf5a56cc02bdc9c93361bde732b0","task":"235412e52d09e7165fac8a67a43ad6b4"}}},"settings":{"number_of_shards":1,"auto_expand_replicas":"0-1"}}' 'localhost:9308/.kibana_task_manager_1'
––– output –––
OK
––– input –––
curl -s -X PUT -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 15115' -H 'Connection: keep-alive' -d '{"mappings":{"dynamic":"strict","properties":{"config":{"dynamic":"true","properties":{"buildNum":{"type":"keyword"}}},"migrationVersion":{"dynamic":"true","type":"object"},"type":{"type":"keyword"},"namespace":{"type":"keyword"},"updated_at":{"type":"date"},"references":{"type":"nested","properties":{"name":{"type":"keyword"},"type":{"type":"keyword"},"id":{"type":"keyword"}}},"graph-workspace":{"properties":{"description":{"type":"text"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"text"}}},"numLinks":{"type":"integer"},"numVertices":{"type":"integer"},"title":{"type":"text"},"version":{"type":"integer"},"wsState":{"type":"text"}}},"space":{"properties":{"name":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":2048}}},"description":{"type":"text"},"initials":{"type":"keyword"},"color":{"type":"keyword"},"disabledFeatures":{"type":"keyword"},"imageUrl":{"type":"text","index":false},"_reserved":{"type":"boolean"}}},"ml-telemetry":{"properties":{"file_data_visualizer":{"properties":{"index_creation_count":{"type":"long"}}}}},"apm-services-telemetry":{"properties":{"has_any_services":{"type":"boolean"},"services_per_agent":{"properties":{"python":{"type":"long","null_value":0},"java":{"type":"long","null_value":0},"nodejs":{"type":"long","null_value":0},"js-base":{"type":"long","null_value":0},"rum-js":{"type":"long","null_value":0},"dotnet":{"type":"long","null_value":0},"ruby":{"type":"long","null_value":0},"go":{"type":"long","null_value":0}}}}},"apm-indices":{"properties":{"apm_oss.sourcemapIndices":{"type":"keyword"},"apm_oss.errorIndices":{"type":"keyword"},"apm_oss.onboardingIndices":{"type":"keyword"},"apm_oss.spanIndices":{"type":"keyword"},"apm_oss.transactionIndices":{"type":"keyword"},"apm_oss.metricsIndices":{"type":"keyword"}}},"map":{"properties":{"description":{"type":"text"},"title":{"type":"text"},"version":{"type":"integer"},"bounds":{"type":"geo_shape"},"mapStateJSON":{"type":"text"},"layerListJSON":{"type":"text"},"uiStateJSON":{"type":"text"}}},"maps-telemetry":{"properties":{"settings":{"properties":{"showMapVisualizationTypes":{"type":"boolean"}}},"indexPatternsWithGeoFieldCount":{"type":"long"},"mapsTotalCount":{"type":"long"},"timeCaptured":{"type":"date"},"attributesPerMap":{"properties":{"dataSourcesCount":{"properties":{"min":{"type":"long"},"max":{"type":"long"},"avg":{"type":"long"}}},"layersCount":{"properties":{"min":{"type":"long"},"max":{"type":"long"},"avg":{"type":"long"}}},"layerTypesCount":{"dynamic":"true","properties":{}},"emsVectorLayersCount":{"dynamic":"true","properties":{}}}}}},"canvas-workpad":{"dynamic":false,"properties":{"name":{"type":"text","fields":{"keyword":{"type":"keyword"}}},"@timestamp":{"type":"date"},"@created":{"type":"date"}}},"canvas-element":{"dynamic":false,"properties":{"name":{"type":"text","fields":{"keyword":{"type":"keyword"}}},"help":{"type":"text"},"content":{"type":"text"},"image":{"type":"text"},"@timestamp":{"type":"date"},"@created":{"type":"date"}}},"infrastructure-ui-source":{"properties":{"name":{"type":"text"},"description":{"type":"text"},"metricAlias":{"type":"keyword"},"logAlias":{"type":"keyword"},"fields":{"properties":{"container":{"type":"keyword"},"host":{"type":"keyword"},"pod":{"type":"keyword"},"tiebreaker":{"type":"keyword"},"timestamp":{"type":"keyword"}}},"logColumns":{"type":"nested","properties":{"timestampColumn":{"properties":{"id":{"type":"keyword"}}},"messageColumn":{"properties":{"id":{"type":"keyword"}}},"fieldColumn":{"properties":{"id":{"type":"keyword"},"field":{"type":"keyword"}}}}}}},"metrics-explorer-view":{"properties":{"name":{"type":"keyword"},"options":{"properties":{"metrics":{"type":"nested","properties":{"aggregation":{"type":"keyword"},"field":{"type":"keyword"},"color":{"type":"keyword"},"label":{"type":"keyword"}}},"limit":{"type":"integer"},"groupBy":{"type":"keyword"},"filterQuery":{"type":"keyword"},"aggregation":{"type":"keyword"}}},"chartOptions":{"properties":{"type":{"type":"keyword"},"yAxisMode":{"type":"keyword"},"stack":{"type":"boolean"}}},"currentTimerange":{"properties":{"from":{"type":"keyword"},"to":{"type":"keyword"},"interval":{"type":"keyword"}}}}},"inventory-view":{"properties":{"name":{"type":"keyword"},"metric":{"properties":{"type":{"type":"keyword"}}},"groupBy":{"type":"nested","properties":{"label":{"type":"keyword"},"field":{"type":"keyword"}}},"nodeType":{"type":"keyword"},"view":{"type":"keyword"},"customOptions":{"type":"nested","properties":{"text":{"type":"keyword"},"field":{"type":"keyword"}}},"boundsOverride":{"properties":{"max":{"type":"integer"},"min":{"type":"integer"}}},"autoBounds":{"type":"boolean"},"time":{"type":"integer"},"autoReload":{"type":"boolean"},"filterQuery":{"properties":{"kind":{"type":"keyword"},"expression":{"type":"keyword"}}}}},"siem-ui-timeline":{"properties":{"columns":{"properties":{"aggregatable":{"type":"boolean"},"category":{"type":"keyword"},"columnHeaderType":{"type":"keyword"},"description":{"type":"text"},"example":{"type":"text"},"indexes":{"type":"keyword"},"id":{"type":"keyword"},"name":{"type":"text"},"placeholder":{"type":"text"},"searchable":{"type":"boolean"},"type":{"type":"keyword"}}},"dataProviders":{"properties":{"id":{"type":"keyword"},"name":{"type":"text"},"enabled":{"type":"boolean"},"excluded":{"type":"boolean"},"kqlQuery":{"type":"text"},"queryMatch":{"properties":{"field":{"type":"text"},"displayField":{"type":"text"},"value":{"type":"text"},"displayValue":{"type":"text"},"operator":{"type":"text"}}},"and":{"properties":{"id":{"type":"keyword"},"name":{"type":"text"},"enabled":{"type":"boolean"},"excluded":{"type":"boolean"},"kqlQuery":{"type":"text"},"queryMatch":{"properties":{"field":{"type":"text"},"displayField":{"type":"text"},"value":{"type":"text"},"displayValue":{"type":"text"},"operator":{"type":"text"}}}}}}},"description":{"type":"text"},"eventType":{"type":"keyword"},"favorite":{"properties":{"keySearch":{"type":"text"},"fullName":{"type":"text"},"userName":{"type":"text"},"favoriteDate":{"type":"date"}}},"filters":{"properties":{"meta":{"properties":{"alias":{"type":"text"},"controlledBy":{"type":"text"},"disabled":{"type":"boolean"},"field":{"type":"text"},"formattedValue":{"type":"text"},"index":{"type":"keyword"},"key":{"type":"keyword"},"negate":{"type":"boolean"},"params":{"type":"text"},"type":{"type":"keyword"},"value":{"type":"text"}}},"exists":{"type":"text"},"match_all":{"type":"text"},"missing":{"type":"text"},"query":{"type":"text"},"range":{"type":"text"},"script":{"type":"text"}}},"kqlMode":{"type":"keyword"},"kqlQuery":{"properties":{"filterQuery":{"properties":{"kuery":{"properties":{"kind":{"type":"keyword"},"expression":{"type":"text"}}},"serializedQuery":{"type":"text"}}}}},"title":{"type":"text"},"dateRange":{"properties":{"start":{"type":"date"},"end":{"type":"date"}}},"savedQueryId":{"type":"keyword"},"sort":{"properties":{"columnId":{"type":"keyword"},"sortDirection":{"type":"keyword"}}},"created":{"type":"date"},"createdBy":{"type":"text"},"updated":{"type":"date"},"updatedBy":{"type":"text"}}},"siem-ui-timeline-note":{"properties":{"timelineId":{"type":"keyword"},"eventId":{"type":"keyword"},"note":{"type":"text"},"created":{"type":"date"},"createdBy":{"type":"text"},"updated":{"type":"date"},"updatedBy":{"type":"text"}}},"siem-ui-timeline-pinned-event":{"properties":{"timelineId":{"type":"keyword"},"eventId":{"type":"keyword"},"created":{"type":"date"},"createdBy":{"type":"text"},"updated":{"type":"date"},"updatedBy":{"type":"text"}}},"siem-detection-engine-rule-status":{"properties":{"alertId":{"type":"keyword"},"status":{"type":"keyword"},"statusDate":{"type":"date"},"lastFailureAt":{"type":"date"},"lastSuccessAt":{"type":"date"},"lastFailureMessage":{"type":"text"},"lastSuccessMessage":{"type":"text"}}},"upgrade-assistant-reindex-operation":{"dynamic":true,"properties":{"indexName":{"type":"keyword"},"status":{"type":"integer"}}},"upgrade-assistant-telemetry":{"properties":{"ui_open":{"properties":{"overview":{"type":"long","null_value":0},"cluster":{"type":"long","null_value":0},"indices":{"type":"long","null_value":0}}},"ui_reindex":{"properties":{"close":{"type":"long","null_value":0},"open":{"type":"long","null_value":0},"start":{"type":"long","null_value":0},"stop":{"type":"long","null_value":0}}},"features":{"properties":{"deprecation_logging":{"properties":{"enabled":{"type":"boolean","null_value":true}}}}}}},"file-upload-telemetry":{"properties":{"filesUploadedTotalCount":{"type":"long"}}},"lens":{"properties":{"title":{"type":"text"},"visualizationType":{"type":"keyword"},"state":{"type":"flattened"},"expression":{"index":false,"type":"keyword"}}},"lens-ui-telemetry":{"properties":{"name":{"type":"keyword"},"type":{"type":"keyword"},"date":{"type":"date"},"count":{"type":"integer"}}},"action":{"properties":{"name":{"type":"text"},"actionTypeId":{"type":"keyword"},"config":{"enabled":false,"type":"object"},"secrets":{"type":"binary"}}},"action_task_params":{"properties":{"actionId":{"type":"keyword"},"params":{"enabled":false,"type":"object"},"apiKey":{"type":"binary"}}},"alert":{"properties":{"enabled":{"type":"boolean"},"name":{"type":"text"},"tags":{"type":"keyword"},"alertTypeId":{"type":"keyword"},"schedule":{"properties":{"interval":{"type":"keyword"}}},"consumer":{"type":"keyword"},"actions":{"type":"nested","properties":{"group":{"type":"keyword"},"actionRef":{"type":"keyword"},"actionTypeId":{"type":"keyword"},"params":{"enabled":false,"type":"object"}}},"params":{"enabled":false,"type":"object"},"scheduledTaskId":{"type":"keyword"},"createdBy":{"type":"keyword"},"updatedBy":{"type":"keyword"},"createdAt":{"type":"date"},"apiKey":{"type":"binary"},"apiKeyOwner":{"type":"keyword"},"throttle":{"type":"keyword"},"muteAll":{"type":"boolean"},"mutedInstanceIds":{"type":"keyword"}}},"query":{"properties":{"title":{"type":"text"},"description":{"type":"text"},"query":{"properties":{"language":{"type":"keyword"},"query":{"type":"keyword","index":false}}},"filters":{"type":"object","enabled":false},"timefilter":{"type":"object","enabled":false}}},"index-pattern":{"properties":{"fieldFormatMap":{"type":"text"},"fields":{"type":"text"},"intervalName":{"type":"keyword"},"notExpandable":{"type":"boolean"},"sourceFilters":{"type":"text"},"timeFieldName":{"type":"keyword"},"title":{"type":"text"},"type":{"type":"keyword"},"typeMeta":{"type":"keyword"}}},"visualization":{"properties":{"description":{"type":"text"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"text"}}},"savedSearchRefName":{"type":"keyword"},"title":{"type":"text"},"uiStateJSON":{"type":"text"},"version":{"type":"integer"},"visState":{"type":"text"}}},"search":{"properties":{"columns":{"type":"keyword"},"description":{"type":"text"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"text"}}},"sort":{"type":"keyword"},"title":{"type":"text"},"version":{"type":"integer"}}},"dashboard":{"properties":{"description":{"type":"text"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"text"}}},"optionsJSON":{"type":"text"},"panelsJSON":{"type":"text"},"refreshInterval":{"properties":{"display":{"type":"keyword"},"pause":{"type":"boolean"},"section":{"type":"integer"},"value":{"type":"integer"}}},"timeFrom":{"type":"keyword"},"timeRestore":{"type":"boolean"},"timeTo":{"type":"keyword"},"title":{"type":"text"},"version":{"type":"integer"}}},"url":{"properties":{"accessCount":{"type":"long"},"accessDate":{"type":"date"},"createDate":{"type":"date"},"url":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":2048}}}}},"server":{"properties":{"uuid":{"type":"keyword"}}},"kql-telemetry":{"properties":{"optInCount":{"type":"long"},"optOutCount":{"type":"long"}}},"sample-data-telemetry":{"properties":{"installCount":{"type":"long"},"unInstallCount":{"type":"long"}}},"telemetry":{"properties":{"enabled":{"type":"boolean"},"sendUsageFrom":{"ignore_above":256,"type":"keyword"},"lastReported":{"type":"date"},"lastVersionChecked":{"ignore_above":256,"type":"keyword"},"userHasSeenNotice":{"type":"boolean"}}},"timelion-sheet":{"properties":{"description":{"type":"text"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"text"}}},"timelion_chart_height":{"type":"integer"},"timelion_columns":{"type":"integer"},"timelion_interval":{"type":"keyword"},"timelion_other_interval":{"type":"keyword"},"timelion_rows":{"type":"integer"},"timelion_sheet":{"type":"text"},"title":{"type":"text"},"version":{"type":"integer"}}},"ui-metric":{"properties":{"count":{"type":"integer"}}},"tsvb-validation-telemetry":{"properties":{"failedRequests":{"type":"long"}}}},"_meta":{"migrationMappingPropertyHashes":{"config":"87aca8fdb053154f11383fce3dbf3edf","migrationVersion":"4a1746014a75ade3a714e1db5763276f","type":"2f4316de49999235636386fe51dc06c1","namespace":"2f4316de49999235636386fe51dc06c1","updated_at":"00da57df13e94e9d98437d13ace4bfe0","references":"7997cf5a56cc02bdc9c93361bde732b0","graph-workspace":"cd7ba1330e6682e9cc00b78850874be1","space":"c5ca8acafa0beaa4d08d014a97b6bc6b","ml-telemetry":"257fd1d4b4fdbb9cb4b8a3b27da201e9","apm-services-telemetry":"07ee1939fa4302c62ddc052ec03fed90","apm-indices":"9bb9b2bf1fa636ed8619cbab5ce6a1dd","map":"23d7aa4a720d4938ccde3983f87bd58d","maps-telemetry":"268da3a48066123fc5baf35abaa55014","canvas-workpad":"b0a1706d356228dbdcb4a17e6b9eb231","canvas-element":"7390014e1091044523666d97247392fc","infrastructure-ui-source":"ddc0ecb18383f6b26101a2fadb2dab0c","metrics-explorer-view":"53c5365793677328df0ccb6138bf3cdd","inventory-view":"84b320fd67209906333ffce261128462","siem-ui-timeline":"ac8020190f5950dd3250b6499144e7fb","siem-ui-timeline-note":"8874706eedc49059d4cf0f5094559084","siem-ui-timeline-pinned-event":"20638091112f0e14f0e443d512301c29","siem-detection-engine-rule-status":"0367e4d775814b56a4bee29384f9aafe","upgrade-assistant-reindex-operation":"a53a20fe086b72c9a86da3cc12dad8a6","upgrade-assistant-telemetry":"56702cec857e0a9dacfb696655b4ff7b","file-upload-telemetry":"0ed4d3e1983d1217a30982630897092e","lens":"21c3ea0763beb1ecb0162529706b88c5","lens-ui-telemetry":"509bfa5978586998e05f9e303c07a327","action":"c0c235fba02ebd2a2412bcda79009b58","action_task_params":"a9d49f184ee89641044be0ca2950fa3a","alert":"e588043a01d3d43477e7cad7efa0f5d8","query":"11aaeb7f5f7fa5bb43f25e18ce26e7d9","index-pattern":"66eccb05066c5a89924f48a9e9736499","visualization":"52d7a13ad68a150c4525b292d23e12cc","search":"181661168bbadd1eff5902361e2a0d5c","dashboard":"d00f614b29a80360e1190193fd333bab","url":"c7f66a0df8b1b52f17c28c4adb111105","server":"ec97f1c5da1a19609a60874e5af1100c","kql-telemetry":"d12a98a6f19a2d273696597547e064ee","sample-data-telemetry":"7d3cfeb915303c9641c59681967ffeb4","telemetry":"358ffaa88ba34a97d55af0933a117de4","timelion-sheet":"9a2a2748877c7a7b582fef201ab1d4cf","ui-metric":"0d409297dc5ebe1e3a1da691c6ee32e3","tsvb-validation-telemetry":"3a37ef6c8700ae6fc97d5c7da00e9215"}}},"settings":{"number_of_shards":1,"auto_expand_replicas":"0-1"}}' 'localhost:9308/.kibana_1'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_alias/.kibana_task_manager'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_alias/.kibana'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 87' -H 'Connection: keep-alive' -d '{"actions":[{"add":{"index":".kibana_task_manager_1","alias":".kibana_task_manager"}}]}' 'localhost:9308/_aliases'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 61' -H 'Connection: keep-alive' -d '{"actions":[{"add":{"index":".kibana_1","alias":".kibana"}}]}' 'localhost:9308/_aliases'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana_task_manager_1/_refresh'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana_1/_refresh'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_xpack'
––– output –––
OK
––– input –––
curl -s -X PUT -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 1307' -H 'Connection: keep-alive' -d '{"index_patterns":[".management-beats"],"version":70000,"settings":{"index":{"number_of_shards":1,"auto_expand_replicas":"0-1","codec":"best_compression"}},"mappings":{"dynamic":"strict","properties":{"type":{"type":"keyword"},"configuration_block":{"properties":{"id":{"type":"keyword"},"type":{"type":"keyword"},"tag":{"type":"keyword"},"description":{"type":"text"},"config":{"type":"keyword"},"last_updated":{"type":"date"}}},"enrollment_token":{"properties":{"token":{"type":"keyword"},"expires_on":{"type":"date"}}},"tag":{"properties":{"id":{"type":"keyword"},"name":{"type":"keyword"},"color":{"type":"keyword"},"hasConfigurationBlocksTypes":{"type":"keyword"}}},"beat":{"properties":{"id":{"type":"keyword"},"status":{"properties":{"type":{"type":"keyword"},"timestamp":{"type":"date"},"event":{"properties":{"type":{"type":"keyword"},"message":{"type":"text"},"uuid":{"type":"keyword"}}}}},"active":{"type":"boolean"},"last_checkin":{"type":"date"},"enrollment_token":{"type":"keyword"},"access_token":{"type":"keyword"},"verified_on":{"type":"date"},"type":{"type":"keyword"},"version":{"type":"keyword"},"host_ip":{"type":"ip"},"host_name":{"type":"keyword"},"ephemeral_id":{"type":"keyword"},"tags":{"type":"keyword"},"metadata":{"dynamic":"true","type":"object"},"name":{"type":"keyword"}}}}}}' 'localhost:9308/_template/.management-beats'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_xpack'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 354' -H 'Connection: keep-alive' -d '{"seq_no_primary_term":true,"query":{"bool":{"filter":[{"bool":{"should":[{"bool":{"must":[{"term":{"type":"upgrade-assistant-reindex-operation"}}],"must_not":[{"exists":{"field":"namespace"}}]}}],"minimum_should_match":1}}],"must":[{"simple_query_string":{"query":"0","fields":["upgrade-assistant-reindex-operation.status"],"default_operator":"OR"}}]}}}' 'localhost:9308/.kibana/_search?size=20&from=0&rest_total_hits_as_int=true'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/.kibana/_doc/space%3Adefault'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 237' -H 'Connection: keep-alive' -d '{"space":{"name":"Default","description":"This is your default space!","color":"#00bfb3","disabledFeatures":[],"_reserved":true},"type":"space","references":[],"migrationVersion":{"space":"6.6.0"},"updated_at":"2025-04-16T12:06:54.147Z"}' 'localhost:9308/.kibana/_create/space%3Adefault?refresh=wait_for'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X HEAD --max-time 5 -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_cluster/settings?include_defaults=true'
––– output –––
- {"defaults":{"action":{"auto_create_index":"true","destructive_requires_name":"false","search":{"shard_count":{"limit":9223372036854775807}}},"bootstrap":{"ctrlhandler":"true","memory_lock":"false","system_call_filter":"true"},"cache":{"recycler":{"page":{"limit":{"heap":"10%"},"type":"CONCURRENT","weight":{"bytes":1.000000,"ints":1.000000,"longs":1.000000,"objects":0.100000}}}},"ccr":{"auto_follow":{"wait_for_metadata_timeout":"60s"},"indices":{"recovery":{"chunk_size":"1mb","internal_action_timeout":"60s","max_bytes_per_sec":"40mb","max_concurrent_file_chunks":5,"recovery_activity_timeout":"60s"}},"wait_for_metadata_timeout":"60s"},"client":{"transport":{"ignore_cluster_name":"false","nodes_sampler_interval":"5s","ping_timeout":"5s","sniff":"false"},"type":"node"},"cluster":{"auto_shrink_voting_configuration":"true","blocks":{"read_only":"false","read_only_allow_delete":"false"},"election":{"back_off_time":"100ms","duration":"500ms","initial_timeout":"100ms","max_timeout":"10s","strategy":"supports_voting_only"},"fault_detection":{"follower_check":{"interval":"1000ms","retry_count":3,"timeout":"10000ms"},"leader_check":{"interval":"1000ms","retry_count":3,"timeout":"10000ms"}},"follower_lag":{"timeout":"90000ms"},"indices":{"close":{"enable":"true"},"tombstones":{"size":500}},"info":{"update":{"interval":"30s","timeout":"15s"}},"initial_master_nodes":[],"join":{"timeout":"60000ms"},"max_shards_per_node":1000,"max_voting_config_exclusions":10,"name":"docker-cluster","no_master_block":"write","nodes":{"reconnect_interval":"10s"},"persistent_tasks":{"allocation":{"enable":"all","recheck_interval":"30s"}},"publish":{"info_timeout":"10000ms","timeout":"30000ms"},"remote":{"connect":"true","connections_per_cluster":3,"initial_connect_timeout":"30s","node":{"attr":""}},"routing":{"allocation":{"allow_rebalance":"indices_all_active","awareness":{"attributes":[]},"balance":{"index":0.550000,"shard":0.450000,"threshold":1.000000},"cluster_concurrent_rebalance":2,"disk":{"include_relocations":"true","reroute_interval":"60s","threshold_enabled":"true","watermark":{"flood_stage":"95%","high":"90%","low":"85%"}},"enable":"all","node_concurrent_incoming_recoveries":2,"node_concurrent_outgoing_recoveries":2,"node_concurrent_recoveries":2,"node_initial_primaries_recoveries":4,"same_shard":{"host":"false"},"shard_state":{"reroute":{"priority":"NORMAL"}},"total_shards_per_node":-1,"type":"balanced"},"rebalance":{"enable":"all"},"use_adaptive_replica_selection":"true"},"service":{"slow_master_task_logging_threshold":"10s","slow_task_logging_threshold":"30s"}},"discovery":{"cluster_formation_warning_timeout":"10000ms","find_peers_interval":"1000ms","initial_state_timeout":"30s","request_peers_timeout":"3000ms","seed_hosts":[],"seed_providers":[],"seed_resolver":{"max_concurrent_resolvers":10,"timeout":"5s"},"type":"single-node","unconfigured_bootstrap_timeout":"3s","zen":{"bwc_ping_timeout":"3s","commit_timeout":"30s","fd":{"connect_on_network_disconnect":"false","ping_interval":"1s","ping_retries":3,"ping_timeout":"30s","register_connection_listener":"true"},"hosts_provider":[],"join_retry_attempts":3,"join_retry_delay":"100ms","join_timeout":"60000ms","master_election":{"ignore_non_master_pings":"false","wait_for_joins_timeout":"30000ms"},"max_pings_from_another_master":3,"minimum_master_nodes":-1,"no_master_block":"write","ping":{"unicast":{"concurrent_connects":10,"hosts":[],"hosts.resolve_timeout":"5s"}},"ping_timeout":"3s","publish":{"max_pending_cluster_states":25},"publish_diff":{"enable":"true"},"publish_timeout":"30s","send_leave_request":"true","unsafe_rolling_upgrades_enabled":"true"}},"enrich":{"cleanup_period":"15m","coordinator_proxy":{"max_concurrent_requests":8,"max_lookups_per_request":128,"queue_capacity":1024},"fetch_size":10000,"max_concurrent_policy_executions":50,"max_force_merge_attempts":3},"gateway":{"auto_import_dangling_indices":"true","expected_data_nodes":-1,"expected_master_nodes":-1,"expected_nodes":-1,"recover_after_data_nodes":-1,"recover_after_master_nodes":0,"recover_after_nodes":-1,"recover_after_time":"0ms","slow_write_logging_threshold":"10s","write_dangling_indices_info":"true"},"http":{"bind_host":[],"compression":"true","compression_level":3,"content_type":{"required":"true"},"cors":{"allow-credentials":"false","allow-headers":"X-Requested-With,Content-Type,Content-Length","allow-methods":"OPTIONS,HEAD,GET,POST,PUT,DELETE","allow-origin":"","enabled":"false","max-age":1728000},"detailed_errors":{"enabled":"true"},"host":[],"max_chunk_size":"8kb","max_content_length":"100mb","max_header_size":"8kb","max_initial_line_length":"4kb","max_warning_header_count":-1,"max_warning_header_size":"-1b","netty":{"max_composite_buffer_components":69905,"receive_predictor_size":"64kb","worker_count":4},"pipelining":{"max_events":10000},"port":"9200-9300","publish_host":[],"publish_port":-1,"read_timeout":"0ms","reset_cookies":"false","tcp":{"keep_alive":"true","keep_count":-1,"keep_idle":-1,"keep_interval":-1,"no_delay":"true","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"},"tcp_no_delay":"true","type":"security4","type.default":"netty4"},"index":{"codec":"default","store":{"fs":{"fs_lock":"native"},"preload":[],"type":""}},"indices":{"analysis":{"hunspell":{"dictionary":{"ignore_case":"false","lazy":"false"}}},"breaker":{"accounting":{"limit":"100%","overhead":1.000000},"fielddata":{"limit":"40%","overhead":1.030000,"type":"memory"},"request":{"limit":"60%","overhead":1.000000,"type":"memory"},"total":{"limit":"95%","use_real_memory":"true"},"type":"hierarchy"},"cache":{"cleanup_interval":"1m"},"fielddata":{"cache":{"size":"-1b"}},"id_field_data":{"enabled":"true"},"lifecycle":{"history_index_enabled":"true","poll_interval":"10m"},"mapping":{"dynamic_timeout":"30s"},"memory":{"index_buffer_size":"10%","interval":"5s","max_index_buffer_size":-1,"min_index_buffer_size":"48mb","shard_inactive_time":"5m"},"queries":{"cache":{"all_segments":"false","count":10000,"size":"10%"}},"query":{"bool":{"max_clause_count":1024},"query_string":{"allowLeadingWildcard":"true","analyze_wildcard":"false"}},"recovery":{"internal_action_long_timeout":"1800000ms","internal_action_timeout":"15m","max_bytes_per_sec":"40mb","max_concurrent_file_chunks":2,"recovery_activity_timeout":"1800000ms","retry_delay_network":"5s","retry_delay_state_sync":"500ms"},"requests":{"cache":{"expire":"0ms","size":"1%"}},"store":{"delete":{"shard":{"timeout":"30s"}}}},"ingest":{"geoip":{"cache_size":1000},"grok":{"watchdog":{"interval":"1s","max_execution_time":"1s"}},"user_agent":{"cache_size":1000}},"logger":{"level":"INFO"},"monitor":{"fs":{"refresh_interval":"1s"},"jvm":{"gc":{"enabled":"true","overhead":{"debug":10,"info":25,"warn":50},"refresh_interval":"1s"},"refresh_interval":"1s"},"os":{"refresh_interval":"1s"},"process":{"refresh_interval":"1s"}},"network":{"bind_host":["0.0.0.0"],"breaker":{"inflight_requests":{"limit":"100%","overhead":2.000000}},"host":["0.0.0.0"],"publish_host":["0.0.0.0"],"server":"true","tcp":{"connect_timeout":"30s","keep_alive":"true","keep_count":-1,"keep_idle":-1,"keep_interval":-1,"no_delay":"true","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"}},"no":{"model":{"state":{"persist":"false"}}},"node":{"attr":{"xpack":{"installed":"true"}},"data":"true","enable_lucene_segment_infos_trace":"false","id":{"seed":0},"ingest":"true","local_storage":"true","master":"true","max_local_storage_nodes":1,"ml":"false","name":"ec0f9510557a","pidfile":"","portsfile":"false","processors":2,"store":{"allow_mmap":"true"},"voting_only":"false"},"path":{"data":[],"home":"/usr/share/elasticsearch","logs":"/usr/share/elasticsearch/logs","repo":[],"shared_data":""},"pidfile":"","plugin":{"mandatory":[]},"processors":2,"reindex":{"remote":{"whitelist":[]}},"repositories":{"fs":{"chunk_size":"9223372036854775807b","compress":"false","location":""},"url":{"allowed_urls":[],"supported_protocols":["http","https","ftp","file","jar"],"url":"http:"}},"resource":{"reload":{"enabled":"true","interval":{"high":"5s","low":"60s","medium":"30s"}}},"rest":{"action":{"multi":{"allow_explicit_index":"true"}}},"script":{"allowed_contexts":[],"allowed_types":[],"cache":{"expire":"0ms","max_size":100},"max_compilations_rate":"75/5m","max_size_in_bytes":65535,"painless":{"regex":{"enabled":"false"}}},"search":{"default_allow_partial_results":"true","default_keep_alive":"5m","default_search_timeout":-1,"highlight":{"term_vector_multi_value":"true"},"keep_alive_interval":"1m","low_level_cancellation":"true","max_buckets":10000,"max_keep_alive":"24h","max_open_scroll_context":500,"remote":{"connect":"true","connections_per_cluster":3,"initial_connect_timeout":"30s","node":{"attr":""}}},"security":{"manager":{"filter_bad_defaults":"true"}},"slm":{"history_index_enabled":"true","retention_duration":"1h","retention_schedule":"0 30 1 * * ?"},"thread_pool":{"analyze":{"queue_size":16,"size":1},"estimated_time_interval":"200ms","fetch_shard_started":{"core":1,"keep_alive":"5m","max":4},"fetch_shard_store":{"core":1,"keep_alive":"5m","max":4},"flush":{"core":1,"keep_alive":"5m","max":1},"force_merge":{"queue_size":-1,"size":1},"generic":{"core":4,"keep_alive":"30s","max":128},"get":{"queue_size":1000,"size":2},"listener":{"queue_size":-1,"size":1},"management":{"core":1,"keep_alive":"5m","max":5},"refresh":{"core":1,"keep_alive":"5m","max":1},"search":{"auto_queue_frame_size":2000,"max_queue_size":1000,"min_queue_size":1000,"queue_size":1000,"size":4,"target_response_time":"1s"},"search_throttled":{"auto_queue_frame_size":200,"max_queue_size":100,"min_queue_size":100,"queue_size":100,"size":1,"target_response_time":"1s"},"snapshot":{"core":1,"keep_alive":"5m","max":1},"warmer":{"core":1,"keep_alive":"5m","max":1},"write":{"queue_size":200,"size":2}},"transform":{"task_thread_pool":{"queue_size":4,"size":4}},"transport":{"bind_host":[],"compress":"false","connect_timeout":"30s","connections_per_node":{"bulk":3,"ping":1,"recovery":2,"reg":6,"state":1},"features":{"x-pack":"true"},"host":[],"netty":{"boss_count":1,"receive_predictor_max":"64kb","receive_predictor_min":"64kb","receive_predictor_size":"64kb","worker_count":4},"ping_schedule":-1,"port":"9300-9400","publish_host":[],"publish_port":-1,"tcp":{"compress":"false","connect_timeout":"30s","keep_alive":"true","keep_count":-1,"keep_idle":-1,"keep_interval":-1,"no_delay":"true","port":"9300-9400","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"},"tcp_no_delay":"true","tracer":{"exclude":["internal:discovery/zen/fd*","internal:coordination/fault_detection/*","cluster:monitor/nodes/liveness"],"include":[]},"type":"security4","type.default":"netty4"},"xpack":{"ccr":{"ccr_thread_pool":{"queue_size":100,"size":32},"enabled":"true"},"data_frame":{"enabled":"true"},"enrich":{"enabled":"true"},"flattened":{"enabled":"true"},"graph":{"enabled":"true"},"http":{"default_connection_timeout":"10s","default_read_timeout":"10s","max_response_size":"10mb","proxy":{"host":"","port":0,"scheme":""},"whitelist":["*"]},"ilm":{"enabled":"true"},"license":{"self_generated":{"type":"basic"},"upload":{"types":["standard","gold","platinum","enterprise","trial"]}},"logstash":{"enabled":"true"},"ml":{"autodetect_process":"true","enable_config_migration":"true","enabled":"false","inference_model":{"cache_size":"40%","time_to_live":"5m"},"max_anomaly_records":500,"max_inference_processors":50,"max_lazy_ml_nodes":0,"max_machine_memory_percent":30,"max_model_memory_limit":"0b","max_open_jobs":20,"min_disk_space_off_heap":"5gb","node_concurrent_job_allocations":2,"persist_results_max_retries":20,"process_connect_timeout":"10s"},"monitoring":{"collection":{"ccr":{"stats":{"timeout":"10s"}},"cluster":{"stats":{"timeout":"10s"}},"enabled":"false","enrich":{"stats":{"timeout":"10s"}},"index":{"recovery":{"active_only":"false","timeout":"10s"},"stats":{"timeout":"10s"}},"indices":[],"interval":"10s","ml":{"job":{"stats":{"timeout":"10s"}}},"node":{"stats":{"timeout":"10s"}}},"elasticsearch":{"collection":{"enabled":"true"}},"enabled":"true","history":{"duration":"168h"}},"notification":{"email":{"default_account":"","html":{"sanitization":{"allow":["body","head","_tables","_links","_blocks","_formatting","img:embedded"],"disallow":[],"enabled":"true"}}},"jira":{"default_account":""},"pagerduty":{"default_account":""},"reporting":{"interval":"15s","retries":40,"warning":{"enabled":"true"}},"slack":{"default_account":""}},"rollup":{"enabled":"true","task_thread_pool":{"queue_size":4,"size":4}},"security":{"audit":{"enabled":"false","logfile":{"emit_node_host_address":"false","emit_node_host_name":"false","emit_node_id":"true","emit_node_name":"false","events":{"emit_request_body":"false","exclude":[],"include":["ACCESS_DENIED","ACCESS_GRANTED","ANONYMOUS_ACCESS_DENIED","AUTHENTICATION_FAILED","CONNECTION_DENIED","TAMPERED_REQUEST","RUN_AS_DENIED","RUN_AS_GRANTED"]}}},"authc":{"anonymous":{"authz_exception":"true","roles":[],"username":"_anonymous"},"api_key":{"cache":{"hash_algo":"ssha256","max_keys":10000,"ttl":"24h"},"delete":{"interval":"24h","timeout":-1},"enabled":"false","hashing":{"algorithm":"pbkdf2"}},"password_hashing":{"algorithm":"bcrypt"},"reserved_realm":{"enabled":"true"},"run_as":{"enabled":"true"},"success_cache":{"enabled":"true","expire_after_access":"1h","size":10000},"token":{"delete":{"interval":"30m","timeout":-1},"enabled":"false","thread_pool":{"queue_size":1000,"size":1},"timeout":"20m"}},"authz":{"store":{"roles":{"cache":{"max_size":10000},"field_permissions":{"cache":{"max_size_in_bytes":104857600}},"index":{"cache":{"max_size":10000,"ttl":"20m"}},"negative_lookup_cache":{"max_size":10000}}}},"automata":{"cache":{"enabled":"true","size":10000,"ttl":"48h"},"max_determinized_states":100000},"dls":{"bitset":{"cache":{"size":"10%","ttl":"2h"}}},"dls_fls":{"enabled":"true"},"enabled":"true","encryption":{"algorithm":"AES/CTR/NoPadding"},"encryption_key":{"algorithm":"AES","length":128},"filter":{"always_allow_bound_address":"true"},"fips_mode":{"enabled":"false"},"http":{"filter":{"allow":[],"deny":[],"enabled":"true"},"ssl":{"enabled":"false"}},"ssl":{"diagnose":{"trust":"true"}},"transport":{"filter":{"allow":[],"deny":[],"enabled":"true"},"ssl":{"enabled":"false"}},"user":null},"slm":{"enabled":"true"},"sql":{"enabled":"true"},"transform":{"enabled":"true","num_transform_failure_retries":10},"vectors":{"enabled":"true"},"watcher":{"actions":{"bulk":{"default_timeout":""},"index":{"default_timeout":""}},"bulk":{"actions":1,"concurrent_requests":0,"flush_interval":"1s","size":"1mb"},"enabled":"true","encrypt_sensitive_data":"false","execution":{"default_throttle_period":"5s","scroll":{"size":0,"timeout":""}},"history":{"cleaner_service":{"enabled":"true"}},"index":{"rest":{"direct_access":""}},"input":{"search":{"default_timeout":""}},"internal":{"ops":{"bulk":{"default_timeout":""},"index":{"default_timeout":""},"search":{"default_timeout":""}}},"stop":{"timeout":"30s"},"thread_pool":{"queue_size":1000,"size":10},"transform":{"search":{"default_timeout":""}},"trigger":{"schedule":{"ticker":{"tick_interval":"500ms"}}},"watch":{"scroll":{"size":0}}}}},"persistent":[],"transient":[]}
+ {"defaults":{"action":{"auto_create_index":"true","destructive_requires_name":"false","search":{"shard_count":{"limit":"9223372036854775807"}}},"bootstrap":{"ctrlhandler":"true","memory_lock":"false","system_call_filter":"true"},"cache":{"recycler":{"page":{"limit":{"heap":"10%"},"type":"CONCURRENT","weight":{"bytes":"1.0","ints":"1.0","longs":"1.0","objects":"0.1"}}}},"ccr":{"auto_follow":{"wait_for_metadata_timeout":"60s"},"indices":{"recovery":{"chunk_size":"1mb","internal_action_timeout":"60s","max_bytes_per_sec":"40mb","max_concurrent_file_chunks":"5","recovery_activity_timeout":"60s"}},"wait_for_metadata_timeout":"60s"},"client":{"transport":{"ignore_cluster_name":"false","nodes_sampler_interval":"5s","ping_timeout":"5s","sniff":"false"},"type":"node"},"cluster":{"auto_shrink_voting_configuration":"true","blocks":{"read_only":"false","read_only_allow_delete":"false"},"election":{"back_off_time":"100ms","duration":"500ms","initial_timeout":"100ms","max_timeout":"10s","strategy":"supports_voting_only"},"fault_detection":{"follower_check":{"interval":"1000ms","retry_count":"3","timeout":"10000ms"},"leader_check":{"interval":"1000ms","retry_count":"3","timeout":"10000ms"}},"follower_lag":{"timeout":"90000ms"},"indices":{"close":{"enable":"true"},"tombstones":{"size":"500"}},"info":{"update":{"interval":"30s","timeout":"15s"}},"initial_master_nodes":[],"join":{"timeout":"60000ms"},"max_shards_per_node":"1000","max_voting_config_exclusions":"10","name":"docker-cluster","no_master_block":"write","nodes":{"reconnect_interval":"10s"},"persistent_tasks":{"allocation":{"enable":"all","recheck_interval":"30s"}},"publish":{"info_timeout":"10000ms","timeout":"30000ms"},"remote":{"connect":"true","connections_per_cluster":"3","initial_connect_timeout":"30s","node":{"attr":""}},"routing":{"allocation":{"allow_rebalance":"indices_all_active","awareness":{"attributes":[]},"balance":{"index":"0.55","shard":"0.45","threshold":"1.0"},"cluster_concurrent_rebalance":"2","disk":{"include_relocations":"true","reroute_interval":"60s","threshold_enabled":"true","watermark":{"flood_stage":"95%","high":"90%","low":"85%"}},"enable":"all","node_concurrent_incoming_recoveries":"2","node_concurrent_outgoing_recoveries":"2","node_concurrent_recoveries":"2","node_initial_primaries_recoveries":"4","same_shard":{"host":"false"},"shard_state":{"reroute":{"priority":"NORMAL"}},"total_shards_per_node":"-1","type":"balanced"},"rebalance":{"enable":"all"},"use_adaptive_replica_selection":"true"},"service":{"slow_master_task_logging_threshold":"10s","slow_task_logging_threshold":"30s"}},"discovery":{"cluster_formation_warning_timeout":"10000ms","find_peers_interval":"1000ms","initial_state_timeout":"30s","request_peers_timeout":"3000ms","seed_hosts":[],"seed_providers":[],"seed_resolver":{"max_concurrent_resolvers":"10","timeout":"5s"},"type":"single-node","unconfigured_bootstrap_timeout":"3s","zen":{"bwc_ping_timeout":"3s","commit_timeout":"30s","fd":{"connect_on_network_disconnect":"false","ping_interval":"1s","ping_retries":"3","ping_timeout":"30s","register_connection_listener":"true"},"hosts_provider":[],"join_retry_attempts":"3","join_retry_delay":"100ms","join_timeout":"60000ms","master_election":{"ignore_non_master_pings":"false","wait_for_joins_timeout":"30000ms"},"max_pings_from_another_master":"3","minimum_master_nodes":"-1","no_master_block":"write","ping":{"unicast":{"concurrent_connects":"10","hosts":[],"hosts.resolve_timeout":"5s"}},"ping_timeout":"3s","publish":{"max_pending_cluster_states":"25"},"publish_diff":{"enable":"true"},"publish_timeout":"30s","send_leave_request":"true","unsafe_rolling_upgrades_enabled":"true"}},"enrich":{"cleanup_period":"15m","coordinator_proxy":{"max_concurrent_requests":"8","max_lookups_per_request":"128","queue_capacity":"1024"},"fetch_size":"10000","max_concurrent_policy_executions":"50","max_force_merge_attempts":"3"},"gateway":{"auto_import_dangling_indices":"true","expected_data_nodes":"-1","expected_master_nodes":"-1","expected_nodes":"-1","recover_after_data_nodes":"-1","recover_after_master_nodes":"0","recover_after_nodes":"-1","recover_after_time":"0ms","slow_write_logging_threshold":"10s","write_dangling_indices_info":"true"},"http":{"bind_host":[],"compression":"true","compression_level":"3","content_type":{"required":"true"},"cors":{"allow-credentials":"false","allow-headers":"X-Requested-With,Content-Type,Content-Length","allow-methods":"OPTIONS,HEAD,GET,POST,PUT,DELETE","allow-origin":"","enabled":"false","max-age":"1728000"},"detailed_errors":{"enabled":"true"},"host":[],"max_chunk_size":"8kb","max_content_length":"100mb","max_header_size":"8kb","max_initial_line_length":"4kb","max_warning_header_count":"-1","max_warning_header_size":"-1b","netty":{"max_composite_buffer_components":"69905","receive_predictor_size":"64kb","worker_count":"4"},"pipelining":{"max_events":"10000"},"port":"9200-9300","publish_host":[],"publish_port":"-1","read_timeout":"0ms","reset_cookies":"false","tcp":{"keep_alive":"true","keep_count":"-1","keep_idle":"-1","keep_interval":"-1","no_delay":"true","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"},"tcp_no_delay":"true","type":"security4","type.default":"netty4"},"index":{"codec":"default","store":{"fs":{"fs_lock":"native"},"preload":[],"type":""}},"indices":{"analysis":{"hunspell":{"dictionary":{"ignore_case":"false","lazy":"false"}}},"breaker":{"accounting":{"limit":"100%","overhead":"1.0"},"fielddata":{"limit":"40%","overhead":"1.03","type":"memory"},"request":{"limit":"60%","overhead":"1.0","type":"memory"},"total":{"limit":"95%","use_real_memory":"true"},"type":"hierarchy"},"cache":{"cleanup_interval":"1m"},"fielddata":{"cache":{"size":"-1b"}},"id_field_data":{"enabled":"true"},"lifecycle":{"history_index_enabled":"true","poll_interval":"10m"},"mapping":{"dynamic_timeout":"30s"},"memory":{"index_buffer_size":"10%","interval":"5s","max_index_buffer_size":"-1","min_index_buffer_size":"48mb","shard_inactive_time":"5m"},"queries":{"cache":{"all_segments":"false","count":"10000","size":"10%"}},"query":{"bool":{"max_clause_count":"1024"},"query_string":{"allowLeadingWildcard":"true","analyze_wildcard":"false"}},"recovery":{"internal_action_long_timeout":"1800000ms","internal_action_timeout":"15m","max_bytes_per_sec":"40mb","max_concurrent_file_chunks":"2","recovery_activity_timeout":"1800000ms","retry_delay_network":"5s","retry_delay_state_sync":"500ms"},"requests":{"cache":{"expire":"0ms","size":"1%"}},"store":{"delete":{"shard":{"timeout":"30s"}}}},"ingest":{"geoip":{"cache_size":"1000"},"grok":{"watchdog":{"interval":"1s","max_execution_time":"1s"}},"user_agent":{"cache_size":"1000"}},"logger":{"level":"INFO"},"monitor":{"fs":{"refresh_interval":"1s"},"jvm":{"gc":{"enabled":"true","overhead":{"debug":"10","info":"25","warn":"50"},"refresh_interval":"1s"},"refresh_interval":"1s"},"os":{"refresh_interval":"1s"},"process":{"refresh_interval":"1s"}},"network":{"bind_host":["0.0.0.0"],"breaker":{"inflight_requests":{"limit":"100%","overhead":"2.0"}},"host":["0.0.0.0"],"publish_host":["0.0.0.0"],"server":"true","tcp":{"connect_timeout":"30s","keep_alive":"true","keep_count":"-1","keep_idle":"-1","keep_interval":"-1","no_delay":"true","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"}},"no":{"model":{"state":{"persist":"false"}}},"node":{"attr":{"xpack":{"installed":"true"}},"data":"true","enable_lucene_segment_infos_trace":"false","id":{"seed":"0"},"ingest":"true","local_storage":"true","master":"true","max_local_storage_nodes":"1","ml":"false","name":"ec0f9510557a","pidfile":"","portsfile":"false","processors":"2","store":{"allow_mmap":"true"},"voting_only":"false"},"path":{"data":[],"home":"/usr/share/elasticsearch","logs":"/usr/share/elasticsearch/logs","repo":[],"shared_data":""},"pidfile":"","plugin":{"mandatory":[]},"processors":"2","reindex":{"remote":{"whitelist":[]}},"repositories":{"fs":{"chunk_size":"9223372036854775807b","compress":"false","location":""},"url":{"allowed_urls":[],"supported_protocols":["http","https","ftp","file","jar"],"url":"http:"}},"resource":{"reload":{"enabled":"true","interval":{"high":"5s","low":"60s","medium":"30s"}}},"rest":{"action":{"multi":{"allow_explicit_index":"true"}}},"script":{"allowed_contexts":[],"allowed_types":[],"cache":{"expire":"0ms","max_size":"100"},"max_compilations_rate":"75/5m","max_size_in_bytes":"65535","painless":{"regex":{"enabled":"false"}}},"search":{"default_allow_partial_results":"true","default_keep_alive":"5m","default_search_timeout":"-1","highlight":{"term_vector_multi_value":"true"},"keep_alive_interval":"1m","low_level_cancellation":"true","max_buckets":"10000","max_keep_alive":"24h","max_open_scroll_context":"500","remote":{"connect":"true","connections_per_cluster":"3","initial_connect_timeout":"30s","node":{"attr":""}}},"security":{"manager":{"filter_bad_defaults":"true"}},"slm":{"history_index_enabled":"true","retention_duration":"1h","retention_schedule":"0 30 1 * * ?"},"thread_pool":{"analyze":{"queue_size":"16","size":"1"},"estimated_time_interval":"200ms","fetch_shard_started":{"core":"1","keep_alive":"5m","max":"4"},"fetch_shard_store":{"core":"1","keep_alive":"5m","max":"4"},"flush":{"core":"1","keep_alive":"5m","max":"1"},"force_merge":{"queue_size":"-1","size":"1"},"generic":{"core":"4","keep_alive":"30s","max":"128"},"get":{"queue_size":"1000","size":"2"},"listener":{"queue_size":"-1","size":"1"},"management":{"core":"1","keep_alive":"5m","max":"5"},"refresh":{"core":"1","keep_alive":"5m","max":"1"},"search":{"auto_queue_frame_size":"2000","max_queue_size":"1000","min_queue_size":"1000","queue_size":"1000","size":"4","target_response_time":"1s"},"search_throttled":{"auto_queue_frame_size":"200","max_queue_size":"100","min_queue_size":"100","queue_size":"100","size":"1","target_response_time":"1s"},"snapshot":{"core":"1","keep_alive":"5m","max":"1"},"warmer":{"core":"1","keep_alive":"5m","max":"1"},"write":{"queue_size":"200","size":"2"}},"transform":{"task_thread_pool":{"queue_size":"4","size":"4"}},"transport":{"bind_host":[],"compress":"false","connect_timeout":"30s","connections_per_node":{"bulk":"3","ping":"1","recovery":"2","reg":"6","state":"1"},"features":{"x-pack":"true"},"host":[],"netty":{"boss_count":"1","receive_predictor_max":"64kb","receive_predictor_min":"64kb","receive_predictor_size":"64kb","worker_count":"4"},"ping_schedule":"-1","port":"9300-9400","publish_host":[],"publish_port":"-1","tcp":{"compress":"false","connect_timeout":"30s","keep_alive":"true","keep_count":"-1","keep_idle":"-1","keep_interval":"-1","no_delay":"true","port":"9300-9400","receive_buffer_size":"-1b","reuse_address":"true","send_buffer_size":"-1b"},"tcp_no_delay":"true","tracer":{"exclude":["internal:discovery/zen/fd*","internal:coordination/fault_detection/*","cluster:monitor/nodes/liveness"],"include":[]},"type":"security4","type.default":"netty4"},"xpack":{"ccr":{"ccr_thread_pool":{"queue_size":"100","size":"32"},"enabled":"true"},"data_frame":{"enabled":"true"},"enrich":{"enabled":"true"},"flattened":{"enabled":"true"},"graph":{"enabled":"true"},"http":{"default_connection_timeout":"10s","default_read_timeout":"10s","max_response_size":"10mb","proxy":{"host":"","port":"0","scheme":""},"whitelist":["*"]},"ilm":{"enabled":"true"},"license":{"self_generated":{"type":"basic"},"upload":{"types":["standard","gold","platinum","enterprise","trial"]}},"logstash":{"enabled":"true"},"ml":{"autodetect_process":"true","enable_config_migration":"true","enabled":"false","inference_model":{"cache_size":"40%","time_to_live":"5m"},"max_anomaly_records":"500","max_inference_processors":"50","max_lazy_ml_nodes":"0","max_machine_memory_percent":"30","max_model_memory_limit":"0b","max_open_jobs":"20","min_disk_space_off_heap":"5gb","node_concurrent_job_allocations":"2","persist_results_max_retries":"20","process_connect_timeout":"10s"},"monitoring":{"collection":{"ccr":{"stats":{"timeout":"10s"}},"cluster":{"stats":{"timeout":"10s"}},"enabled":"false","enrich":{"stats":{"timeout":"10s"}},"index":{"recovery":{"active_only":"false","timeout":"10s"},"stats":{"timeout":"10s"}},"indices":[],"interval":"10s","ml":{"job":{"stats":{"timeout":"10s"}}},"node":{"stats":{"timeout":"10s"}}},"elasticsearch":{"collection":{"enabled":"true"}},"enabled":"true","history":{"duration":"168h"}},"notification":{"email":{"default_account":"","html":{"sanitization":{"allow":["body","head","_tables","_links","_blocks","_formatting","img:embedded"],"disallow":[],"enabled":"true"}}},"jira":{"default_account":""},"pagerduty":{"default_account":""},"reporting":{"interval":"15s","retries":"40","warning":{"enabled":"true"}},"slack":{"default_account":""}},"rollup":{"enabled":"true","task_thread_pool":{"queue_size":"4","size":"4"}},"security":{"audit":{"enabled":"false","logfile":{"emit_node_host_address":"false","emit_node_host_name":"false","emit_node_id":"true","emit_node_name":"false","events":{"emit_request_body":"false","exclude":[],"include":["ACCESS_DENIED","ACCESS_GRANTED","ANONYMOUS_ACCESS_DENIED","AUTHENTICATION_FAILED","CONNECTION_DENIED","TAMPERED_REQUEST","RUN_AS_DENIED","RUN_AS_GRANTED"]}}},"authc":{"anonymous":{"authz_exception":"true","roles":[],"username":"_anonymous"},"api_key":{"cache":{"hash_algo":"ssha256","max_keys":"10000","ttl":"24h"},"delete":{"interval":"24h","timeout":"-1"},"enabled":"false","hashing":{"algorithm":"pbkdf2"}},"password_hashing":{"algorithm":"bcrypt"},"reserved_realm":{"enabled":"true"},"run_as":{"enabled":"true"},"success_cache":{"enabled":"true","expire_after_access":"1h","size":"10000"},"token":{"delete":{"interval":"30m","timeout":"-1"},"enabled":"false","thread_pool":{"queue_size":"1000","size":"1"},"timeout":"20m"}},"authz":{"store":{"roles":{"cache":{"max_size":"10000"},"field_permissions":{"cache":{"max_size_in_bytes":"104857600"}},"index":{"cache":{"max_size":"10000","ttl":"20m"}},"negative_lookup_cache":{"max_size":"10000"}}}},"automata":{"cache":{"enabled":"true","size":"10000","ttl":"48h"},"max_determinized_states":"100000"},"dls":{"bitset":{"cache":{"size":"10%","ttl":"2h"}}},"dls_fls":{"enabled":"true"},"enabled":"true","encryption":{"algorithm":"AES/CTR/NoPadding"},"encryption_key":{"algorithm":"AES","length":"128"},"filter":{"always_allow_bound_address":"true"},"fips_mode":{"enabled":"false"},"http":{"filter":{"allow":[],"deny":[],"enabled":"true"},"ssl":{"enabled":"false"}},"ssl":{"diagnose":{"trust":"true"}},"transport":{"filter":{"allow":[],"deny":[],"enabled":"true"},"ssl":{"enabled":"false"}},"user":null},"slm":{"enabled":"true"},"sql":{"enabled":"true"},"transform":{"enabled":"true","num_transform_failure_retries":"10"},"vectors":{"enabled":"true"},"watcher":{"actions":{"bulk":{"default_timeout":""},"index":{"default_timeout":""}},"bulk":{"actions":"1","concurrent_requests":"0","flush_interval":"1s","size":"1mb"},"enabled":"true","encrypt_sensitive_data":"false","execution":{"default_throttle_period":"5s","scroll":{"size":"0","timeout":""}},"history":{"cleaner_service":{"enabled":"true"}},"index":{"rest":{"direct_access":""}},"input":{"search":{"default_timeout":""}},"internal":{"ops":{"bulk":{"default_timeout":""},"index":{"default_timeout":""},"search":{"default_timeout":""}}},"stop":{"timeout":"30s"},"thread_pool":{"queue_size":"1000","size":"10"},"transform":{"search":{"default_timeout":""}},"trigger":{"schedule":{"ticker":{"tick_interval":"500ms"}}},"watch":{"scroll":{"size":"0"}}}}},"persistent":[],"transient":[]}
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 171' -H 'Connection: keep-alive' -d '{"sort":[{"task.runAt":"asc"},{"_id":"desc"}],"query":{"bool":{"must":[{"term":{"type":"task"}},{"bool":{"filter":{"term":{"_id":"task:oss_telemetry-vis_telemetry"}}}}]}}}' 'localhost:9308/.kibana_task_manager/_search?ignore_unavailable=true'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 330' -H 'Connection: keep-alive' -d '{"task":{"taskType":"vis_telemetry","state":"{\"stats\":{},\"runs\":0}","params":"{}","attempts":0,"scheduledAt":"2025-04-16T12:07:00.161Z","startedAt":null,"retryAt":null,"runAt":"2025-04-16T12:07:00.161Z","status":"idle"},"type":"task","references":[],"migrationVersion":{"task":"7.6.0"},"updated_at":"2025-04-16T12:07:00.161Z"}' 'localhost:9308/.kibana_task_manager/_create/task%3Aoss_telemetry-vis_telemetry?refresh=false'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 370' -H 'Connection: keep-alive' -d '{"task":{"taskType":"lens_telemetry","state":"{\"byDate\":{},\"suggestionsByDate\":{},\"saved\":{},\"runs\":0}","params":"{}","attempts":0,"scheduledAt":"2025-04-16T12:07:00.161Z","startedAt":null,"retryAt":null,"runAt":"2025-04-16T12:07:00.161Z","status":"idle"},"type":"task","references":[],"migrationVersion":{"task":"7.6.0"},"updated_at":"2025-04-16T12:07:00.161Z"}' 'localhost:9308/.kibana_task_manager/_create/task%3ALens-lens_telemetry?refresh=false'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 1942' -H 'Connection: keep-alive' -d '{"query":{"bool":{"must":[{"term":{"type":"task"}},{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"term":{"task.status":"idle"}},{"range":{"task.runAt":{"lte":"now"}}}]}},{"bool":{"must":[{"bool":{"should":[{"term":{"task.status":"running"}},{"term":{"task.status":"claiming"}}]}},{"range":{"task.retryAt":{"lte":"now"}}}]}}]}},{"bool":{"should":[{"exists":{"field":"task.schedule"}},{"bool":{"must":[{"term":{"task.taskType":"actions:.server-log"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.slack"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.email"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.index"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.pagerduty"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.webhook"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"alerting:siem.signals"}},{"range":{"task.attempts":{"lt":3}}}]}},{"bool":{"must":[{"term":{"task.taskType":"vis_telemetry"}},{"range":{"task.attempts":{"lt":3}}}]}},{"bool":{"must":[{"term":{"task.taskType":"lens_telemetry"}},{"range":{"task.attempts":{"lt":3}}}]}}]}}]}}]}},"sort":{"_script":{"type":"number","order":"asc","script":{"lang":"painless","source":"\nif (doc['\''task.retryAt'\''].size()!=0) {\n return doc['\''task.retryAt'\''].value.toInstant().toEpochMilli();\n}\nif (doc['\''task.runAt'\''].size()!=0) {\n return doc['\''task.runAt'\''].value.toInstant().toEpochMilli();\n}\n "}}},"seq_no_primary_term":true,"script":{"source":"ctx._source.task.ownerId=params.ownerId; ctx._source.task.status=params.status; ctx._source.task.retryAt=params.retryAt;","lang":"painless","params":{"ownerId":"kibana:ce42b997-a913-4d58-be46-bb1937feedd6","status":"claiming","retryAt":"2025-04-16T12:07:30.419Z"}}}' 'localhost:9308/.kibana_task_manager/_update_by_query?ignore_unavailable=true&refresh=true&max_docs=10&conflicts=proceed'
––– output –––
OK
––– input –––
curl -s -X GET -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'Content-Length: 0' -H 'Connection: keep-alive' 'localhost:9308/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 1942' -H 'Connection: keep-alive' -d '{"query":{"bool":{"must":[{"term":{"type":"task"}},{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"term":{"task.status":"idle"}},{"range":{"task.runAt":{"lte":"now"}}}]}},{"bool":{"must":[{"bool":{"should":[{"term":{"task.status":"running"}},{"term":{"task.status":"claiming"}}]}},{"range":{"task.retryAt":{"lte":"now"}}}]}}]}},{"bool":{"should":[{"exists":{"field":"task.schedule"}},{"bool":{"must":[{"term":{"task.taskType":"actions:.server-log"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.slack"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.email"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.index"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.pagerduty"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"actions:.webhook"}},{"range":{"task.attempts":{"lt":1}}}]}},{"bool":{"must":[{"term":{"task.taskType":"alerting:siem.signals"}},{"range":{"task.attempts":{"lt":3}}}]}},{"bool":{"must":[{"term":{"task.taskType":"vis_telemetry"}},{"range":{"task.attempts":{"lt":3}}}]}},{"bool":{"must":[{"term":{"task.taskType":"lens_telemetry"}},{"range":{"task.attempts":{"lt":3}}}]}}]}}]}}]}},"sort":{"_script":{"type":"number","order":"asc","script":{"lang":"painless","source":"\nif (doc['\''task.retryAt'\''].size()!=0) {\n return doc['\''task.retryAt'\''].value.toInstant().toEpochMilli();\n}\nif (doc['\''task.runAt'\''].size()!=0) {\n return doc['\''task.runAt'\''].value.toInstant().toEpochMilli();\n}\n "}}},"seq_no_primary_term":true,"script":{"source":"ctx._source.task.ownerId=params.ownerId; ctx._source.task.status=params.status; ctx._source.task.retryAt=params.retryAt;","lang":"painless","params":{"ownerId":"kibana:ce42b997-a913-4d58-be46-bb1937feedd6","status":"claiming","retryAt":"2025-04-16T12:07:30.509Z"}}}' 'localhost:9308/.kibana_task_manager/_update_by_query?ignore_unavailable=true&refresh=true&max_docs=10&conflicts=proceed'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 64' -H 'Connection: keep-alive' -d '{"query":{"bool":{"filter":{"term":{"type":"canvas-workpad"}}}}}' 'localhost:9308/.kibana/_search?size=10000&ignore_unavailable=true&filter_path=hits.hits._source.canvas-workpad%2C-hits.hits._source.canvas-workpad.assets'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 64' -H 'Connection: keep-alive' -d '{"query":{"bool":{"filter":{"term":{"type":"canvas-element"}}}}}' 'localhost:9308/.kibana/_search?size=10000&ignore_unavailable=true&filter_path=hits.hits._source.canvas-element.content'
––– output –––
OK
––– input –––
curl -s -X POST -H 'Authorization: Basic ZWxhc3RpYzpwYXNz' -H 'content-type: application/json' -H 'Content-Length: 374' -H 'Connection: keep-alive' -d '{"seq_no_primary_term":true,"_source":{"excludes":["output.content"]},"query":{"bool":{"filter":{"bool":{"minimum_should_match":1,"should":[{"term":{"status":"pending"}},{"bool":{"must":[{"term":{"status":"processing"}},{"range":{"process_expiration":{"lte":"2025-04-16T12:07:03.101Z"}}}]}}]}}}},"sort":[{"priority":{"order":"asc"}},{"created_at":{"order":"asc"}}],"size":1}' 'localhost:9308/.reporting-*/_search'
––– output –––
OK |
clt❌ CLT tests in test/clt-tests/core/test-distributed-inserts.rec––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
OK
––– input –––
apt-get install -y jq > /dev/null; echo $?
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS test2;"; echo $?
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test2 (
id BIGINT,
model TEXT,
storage_capacity INTEGER,
color STRING,
release_year INTEGER,
price FLOAT,
discounted_price FLOAT,
sold BOOL,
date_added TIMESTAMP,
product_codes MULTI,
values MULTI64,
additional_info JSON,
vector FLOAT_VECTOR
knn_type='hnsw'
knn_dims='4'
hnsw_similarity='l2'
) shards='3' rf='1';"; echo $?
––– output –––
OK
––– input –––
mysql -P9306 -h0 -e "show tables;"
––– output –––
OK
––– input –––
mysql -P9306 -h0 -e "DESCRIBE test2;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/insert -d '{
"table": "test2",
"id": 1,
"doc": {
"model": "iPhone 13 Pro",
"storage_capacity": 256,
"color": "silver",
"release_year": 2021,
"price": 1099.99,
"discounted_price": 989.99,
"sold": 1,
"date_added": 1591362342000,
"product_codes": [1,2,3],
"values": [523456764345678976,98765409877866654098,1109876543450987650987],
"additional_info": {"features": ["ProMotion display", "A15 Bionic chip", "Ceramic Shield front cover"]},
"vector": [0.773448,0.312478,0.137971,0.459821]
}
}' | jq '.created'
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/insert -d '{
"table": "test2",
"id": 2,
"doc": {
"model": "Galaxy S21 Ultra",
"storage_capacity": 128,
"color": "black",
"release_year": 2021,
"price": 1199.99,
"discounted_price": 1099.99,
"sold": 1,
"date_added": 1609459200000,
"product_codes": [4,5,6],
"values": [1234567890123456789,9876543210987654321],
"additional_info": {"features": ["Dynamic AMOLED 2X", "Exynos 2100", "108MP camera"]},
"vector": [0.5,0.4,0.3,0.2]
}
}' | jq '.created'
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/insert -d '{
"table": "test2",
"id": 3,
"doc": {
"model": "Pixel 6",
"storage_capacity": 128,
"color": "white",
"release_year": 2021,
"price": 599.99,
"discounted_price": 549.99,
"sold": false,
"date_added": 1630454400000,
"product_codes": [7,8,9],
"values": [987654321987654321,123456789123456789],
"additional_info": {"features": ["Smooth display", "Google Tensor chip", "AI-powered camera"]},
"vector": [0.8,0.6,0.4,0.2]
}
}' | jq '.created'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/replace -d '{
"table": "test2",
"id": 1,
"doc": {
"model": "Updated Model",
"storage_capacity": 512,
"color": "black",
"release_year": 2022,
"price": 1399.99,
"discounted_price": 1299.99,
"sold": false,
"date_added": 1630454400000,
"product_codes": [10,11,12],
"values": [987654321987654321,123456789123456789],
"additional_info": {"features": ["New feature 1","New feature 2"]},
"vector": [0.7,0.8,0.9,1.0]
}
}' | jq '.result'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/update -d '{
"table": "test2",
"id": 2,
"doc": {
"price": 1099.99,
"discounted_price": 999.99
}
}' | jq '.result'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/update -d '{
"table": "test2",
"id": 2,
"doc": {
"price": 1099.99,
"discounted_price": 999.99
}
}' | jq '.result'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/delete -d '{
"table": "test2",
"id": 3
}' | jq '.result'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/delete -d '{
"table": "test2",
"id": 3
}' | jq '.result'
––– output –––
OK
––– input –––
bulk_insert=$(mktemp); echo -e '{ "index": { "_index": "test2", "_id": 4 } }\n{ "id": 4, "model": "iPhone 14", "storage_capacity": 256, "color": "black", "release_year": 2022, "price": 999.99, "discounted_price": 899.99, "sold": 1, "date_added": 1661990400, "product_codes": [19, 20, 21], "values": [1234567890123456789, 9876543210987654321], "additional_info": { "features": ["A16 Bionic", "Dynamic Island"] }, "vector": [0.1, 0.2, 0.3, 0.4] }\n{ "index": { "_index": "test2", "_id": 5 } }\n{ "id": 5, "model": "Pixel 7", "storage_capacity": 128, "color": "white", "release_year": 2022, "price": 699.99, "discounted_price": 649.99, "sold": 0, "date_added": 1661990400, "product_codes": [16, 17, 18], "values": [223344556677889900, 998877665544332211], "additional_info": { "features": ["Tensor G2", "120Hz display"] }, "vector": [0.4, 0.5, 0.6, 0.7] }' > "$bulk_insert"
––– output –––
OK
––– input –––
curl -s -H 'Content-type: application/x-ndjson' --data-binary @"$bulk_insert" http://localhost:9308/_bulk | jq '.items[] | {index: .index.result, id: .index._id}'
––– output –––
- "id": 4
+ "id": "4"
- "id": 5
+ "id": "5"
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
bulk_insert=$(mktemp); echo -e '{"index":{"_index":"test2","_id":6}}\n{"id":6,"model":"OnePlus 10","storage_capacity":256,"color":"blue","release_year":2022,"price":899.99,"discounted_price":849.99,"sold":0,"date_added":1661990400,"product_codes":[22,23,24],"values":[111222333444555666,777888999000111222],"additional_info":{"features":["Snapdragon 8","OxygenOS"]},"vector":[0.2,0.3,0.4,0.5]}\n{"index":{"_index":"test2","_id":7}}\n{"id":7,"model":"Xiaomi 12","storage_capacity":128,"color":"gray","release_year":2022,"price":799.99,"discounted_price":749.99,"sold":1,"date_added":1661990400,"product_codes":[25,26,27],"values":[333444555666777888,999000111222333444],"additional_info":{"features":["MIUI 13","5G"]},"vector":[0.3,0.4,0.5,0.6]}' > "$bulk_insert"; echo $?
––– output –––
OK
––– input –––
curl -s -H 'Content-type: application/x-ndjson' --data-binary @"$bulk_insert" http://localhost:9308/_bulk | jq '.items[] | {index: .index.result, id: .index._id}'
––– output –––
- "id": 6
+ "id": "6"
- "id": 7
+ "id": "7"
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
bulk_update=$(mktemp); echo -e '{"update":{"_index":"test2","_id":6}}\n{"doc":{"price": 799.99, "discounted_price": 749.99}}\n{"update":{"_index":"test2","_id":7}}\n{"doc":{"price": 699.99, "discounted_price": 649.99}}' > "$bulk_update"; echo $?
––– output –––
OK
––– input –––
curl -s -H 'Content-type: application/x-ndjson' --data-binary @"$bulk_update" http://localhost:9308/_bulk | jq '.items[] | {update: .update.result, id: .update._id}'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
bulk_delete=$(mktemp); echo -e '{"delete":{"_index":"test2","_id":2}}\n{"delete":{"_index":"test2","_id":3}}' > "$bulk_delete"; echo $?
––– output –––
OK
––– input –––
curl -s -H 'Content-type: application/x-ndjson' --data-binary @"$bulk_delete" http://localhost:9308/_bulk | jq '.items[] | {delete: .delete.result, id: .delete._id}'
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 order by id asc;"
––– output –––
OK
––– input –––
bulk_ops=$(mktemp); echo -e '{"delete":{"_index":"test2","_id":1}}\n{"index":{"_index":"test2","_id":2}}\n{"model":"C","storage_capacity":256,"color":"black","release_year":2023,"price":799.99,"discounted_price":749.99,"sold":0,"date_added":1672531200,"product_codes":[10,11,12],"values":[1234567890123456789,9876543210987654321],"additional_info":{"features":["Feature A","Feature B"]},"vector":[0.5,0.6,0.7,0.8]}\n{"index":{"_index":"test2","_id":17}}\n{"model":"Updated B","storage_capacity":128,"color":"blue","release_year":2024,"price":899.99,"discounted_price":849.99,"sold":1,"date_added":1672531200,"product_codes":[40,41,42],"values":[222222222222222222,333333333333333333],"additional_info":{"features":["Feature X","Feature Y"]},"vector":[0.1,0.2,0.3,0.4]}\n{"update":{"_index":"test2","_id":6}}\n{"doc":{"price":749.99,"discounted_price":699.99}}' > "$bulk_ops"; echo $?
––– output –––
OK
––– input –––
curl -s -H 'Content-type: application/x-ndjson' --data-binary @"$bulk_ops" http://localhost:9308/_bulk | jq -c '.items[] | {operation: (to_entries | .[0].key), result: (.[].result?), id: (.[]._id?), status: (.[].status?), error: (.[].error?)}'
––– output –––
- {"operation":"delete","result":"deleted","id":1,"status":201,"error":null}
+ {"operation":"delete","result":"deleted","id":"1","status":201,"error":null}
- {"operation":"index","result":"created","id":2,"status":201,"error":null}
+ {"operation":"index","result":"created","id":"2","status":201,"error":null}
- {"operation":"index","result":"created","id":17,"status":201,"error":null}
+ {"operation":"index","result":"created","id":"17","status":201,"error":null}
- {"operation":"update","result":"updated","id":6,"status":201,"error":null}
+ {"operation":"update","result":"updated","id":"6","status":201,"error":null}
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 WHERE id = 4;"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DELETE FROM test2 WHERE id BETWEEN 11 AND 20;"; echo $?
––– output –––
OK
––– input –––
curl -s -X POST http://localhost:9308/insert -d '{
"table": "test2",
"id": 4,
"doc": {
"model": "Updated iPhone 14",
"storage_capacity": 512,
"color": "black",
"release_year": 2022,
"price": 1299.99,
"discounted_price": 1199.99,
"sold": 1,
"date_added": 1661990400,
"product_codes": [19,20,21],
"values": [1234567890123456789,9876543210987654321],
"additional_info": {"features": ["A16 Bionic","Dynamic Island","Improved camera"]},
"vector": [0.1,0.2,0.3,0.4]
}
}' | jq -e '.error' && echo "Duplicate ID test passed!" || echo "Duplicate ID test failed!"
––– output –––
OK
––– input –––
(for i in {1..10}; do curl -s -X POST http://localhost:9308/insert -d '{
"table": "test2",
"id": '$((10 + i))',
"doc": {
"model": "Device '$i'",
"storage_capacity": 64,
"color": "black",
"release_year": 2023,
"price": 499.99,
"discounted_price": 449.99,
"sold": "0",
"date_added": 1672531200,
"product_codes": [1,2,3],
"values": [1234567890123456789,9876543210987654321],
"additional_info": {"features": ["Feature 1","Feature 2"]},
"vector": [0.1,0.2,0.3,0.4]
}
}' & done; wait) | jq -s 'map(select(.created == true)) | length == 10' > /dev/null && echo "Parallel insert test passed!" || echo "Parallel insert test failed!"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM test2 WHERE id BETWEEN 11 AND 20;"
––– output –––
OK |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
to run all Buddy related CLT tests