1414version : " 1"
1515name : " .streams-continuous-ki-extraction"
1616description : " This workflow is used by the system and should not be modified."
17+ tags :
18+ - observability
19+ - streams
20+ - knowledge-indicators
21+ - continuous-extraction
1722settings :
1823 # Timeout is 1 minute shorter than the schedule to avoid overlapping runs.
1924 timeout : " 9m"
@@ -26,21 +31,22 @@ triggers:
2631 - type : scheduled
2732 with :
2833 every : " 10m"
29- inputs :
30- - name : maxScheduledStreams
31- type : number
32- default : 5
33- description : " Max streams to schedule per run; remaining eligible streams are skipped."
34- - name : lookbackHours
35- type : number
36- default : 24
37- description : " Hours of data to sample when identifying KIs."
38- - name : extractionIntervalHours
39- type : number
40- description : " Override for the min hours between extractions per stream. When omitted the Advanced Setting is used."
41- - name : excludedStreamPatterns
42- type : string
43- description : " Override for the comma-separated exclude patterns. When omitted the Advanced Setting is used."
34+ - type : manual
35+ inputs :
36+ - name : maxScheduledStreams
37+ type : number
38+ default : 5
39+ description : " Max streams to schedule per run; remaining eligible streams are skipped."
40+ - name : lookbackHours
41+ type : number
42+ default : 24
43+ description : " Hours of data to sample when identifying KIs."
44+ - name : extractionIntervalHours
45+ type : number
46+ description : " Override for the min hours between extractions per stream. When omitted the Advanced Setting is used."
47+ - name : excludedStreamPatterns
48+ type : string
49+ description : " Override for the comma-separated exclude patterns. When omitted the Advanced Setting is used."
4450steps :
4551 # Step 1: Fetch eligible streams from the classification endpoint.
4652 - name : get_eligible
5157 /internal/streams/_extraction/_eligible?maxScheduledStreams={{ inputs.maxScheduledStreams }}&lookbackHours={{ inputs.lookbackHours }}
5258 {%- if inputs.extractionIntervalHours %}&extractionIntervalHours={{ inputs.extractionIntervalHours }}{% endif -%}
5359 {%- if inputs.excludedStreamPatterns %}&excludedStreamPatterns={{ inputs.excludedStreamPatterns }}{% endif -%}
54- use_server_info : true
5560 headers :
5661 x-elastic-internal-origin : " kibana"
5762 on-failure :
7782 with :
7883 method : POST
7984 path : " /internal/streams/{{ foreach.item.streamName }}/features/_task"
80- use_server_info : true
8185 headers :
8286 x-elastic-internal-origin : " kibana"
8387 body :
@@ -98,7 +102,6 @@ steps:
98102 with :
99103 method : GET
100104 path : " /internal/streams/{{ foreach.item.streamName }}/features/_status"
101- use_server_info : true
102105 headers :
103106 x-elastic-internal-origin : " kibana"
104107 - name : if_not_started_delay
@@ -126,7 +129,6 @@ steps:
126129 with :
127130 method : GET
128131 path : " /internal/streams/{{ foreach.item.streamName }}/features/_status"
129- use_server_info : true
130132 headers :
131133 x-elastic-internal-origin : " kibana"
132134 on-failure :
0 commit comments