Files
openobserve/tests/test-data/pipelineScheduled.json
T

203 lines
5.5 KiB
JSON

{
"version":8,
"enabled":false,
"org":"default",
"name":"",
"description":"",
"source":{
"source_type":"scheduled",
"org_id":"default",
"stream_type":"logs",
"query_condition":{
"type":"sql",
"conditions":null,
"sql":"select job , _timestamp from 'default'",
"promql":null,
"promql_condition":null,
"aggregation":null,
"vrl_function":null,
"search_event_type":"derivedstream",
"multi_time_range":null
},
"trigger_condition":{
"period":1,
"operator":"=",
"threshold":0,
"frequency":1,
"cron":"",
"frequency_type":"minutes",
"silence":0,
"tolerance_in_secs":null
},
"tz_offset":0
},
"nodes":[
{
"id":"522e0c22-32b6-4047-b2c5-195daaee42f4",
"data":{
"node_type":"query",
"org_id":"default",
"stream_type":"logs",
"query_condition":{
"type":"sql",
"conditions":null,
"sql":"select job , _timestamp from 'default'",
"promql":null,
"promql_condition":null,
"aggregation":null,
"vrl_function":null,
"search_event_type":"derivedstream",
"multi_time_range":null
},
"trigger_condition":{
"period":1,
"operator":"=",
"threshold":0,
"frequency":1,
"cron":"",
"frequency_type":"minutes",
"silence":0,
"tolerance_in_secs":null
},
"tz_offset":0
},
"position":{
"x":225.33333,
"y":87
},
"io_type":"input"
},
{
"id":"e75d19f6-bfc6-4acd-995d-4961d3b0c758",
"data":{
"node_type":"function",
"name":"",
"after_flatten":false,
"num_args":0
},
"position":{
"x":9.172931,
"y":204.2238
},
"io_type":"default"
},
{
"id":"4a2a5ff7-b6a1-432b-9124-4e11df98f886",
"data":{
"node_type":"condition",
"conditions":[
{
"column":"job",
"operator":"=",
"value":"2",
"ignore_case":false
}
]
},
"position":{
"x":522.2569,
"y":203.83688
},
"io_type":"default"
},
{
"id":"868f1da2-f176-47a3-8d64-a79f855bb09c",
"data":{
"node_type":"remote_stream",
"org_id":"default",
"destination_name":"test_de"
},
"position":{
"x":60.20449,
"y":364.72598
},
"io_type":"output"
},
{
"id":"d94f2ff3-3ce7-4660-92c3-d60e740c72aa",
"data":{
"node_type":"remote_stream",
"org_id":"default",
"destination_name":"test_de"
},
"position":{
"x":466.98776,
"y":382.18835
},
"io_type":"output"
}
],
"edges":[
{
"id":"e522e0c22-32b6-4047-b2c5-195daaee42f4-e75d19f6-bfc6-4acd-995d-4961d3b0c758",
"source":"522e0c22-32b6-4047-b2c5-195daaee42f4",
"target":"e75d19f6-bfc6-4acd-995d-4961d3b0c758",
"markerEnd":{
"type":"arrowclosed",
"width":20,
"height":20
},
"type":"custom",
"style":{
"strokeWidth":2
},
"animated":true,
"updatable":true
},
{
"id":"e522e0c22-32b6-4047-b2c5-195daaee42f4-4a2a5ff7-b6a1-432b-9124-4e11df98f886",
"source":"522e0c22-32b6-4047-b2c5-195daaee42f4",
"target":"4a2a5ff7-b6a1-432b-9124-4e11df98f886",
"markerEnd":{
"type":"arrowclosed",
"width":20,
"height":20
},
"type":"custom",
"style":{
"strokeWidth":2
},
"animated":true,
"updatable":true
},
{
"id":"ee75d19f6-bfc6-4acd-995d-4961d3b0c758-868f1da2-f176-47a3-8d64-a79f855bb09c",
"source":"e75d19f6-bfc6-4acd-995d-4961d3b0c758",
"target":"868f1da2-f176-47a3-8d64-a79f855bb09c",
"markerEnd":{
"type":"arrowclosed",
"width":20,
"height":20
},
"type":"custom",
"style":{
"strokeWidth":2
},
"animated":true,
"updatable":true
},
{
"id":"e4a2a5ff7-b6a1-432b-9124-4e11df98f886-d94f2ff3-3ce7-4660-92c3-d60e740c72aa",
"source":"4a2a5ff7-b6a1-432b-9124-4e11df98f886",
"target":"d94f2ff3-3ce7-4660-92c3-d60e740c72aa",
"markerEnd":{
"type":"arrowclosed",
"width":20,
"height":20
},
"type":"custom",
"style":{
"strokeWidth":2
},
"animated":true,
"updatable":true
}
],
"type":"scheduled",
"stream_type":"logs",
"frequency":"1 Mins",
"period":"1 Mins",
"cron":"False",
"sql_query":"select job , _timestamp from 'default'",
"#":5
}