Created
December 9, 2023 10:27
-
-
Save niksheridan/d8377778e4c5f1ff3e2e49b0b9899185 to your computer and use it in GitHub Desktop.
Working Search
This file contains 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
{ | |
"visualizations": { | |
"viz_1ibEKiXT": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_PozPBYIA_ds_gREZNTgj" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
}, | |
"viz_rYhOWilO": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_Aoy6m25x_ds_PozPBYIA_ds_gREZNTgj" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
}, | |
"viz_HS70GboS": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_n4Q7l7oK" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
}, | |
"viz_cFoVJm3n": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_BgOJ54ak" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
}, | |
"viz_Oh0reZaV": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0\n\nsearch base0\n```\nindex=_internal\n```" | |
} | |
}, | |
"viz_5jz1AX2v": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0chain1a\n\nsearch base0\n```\nindex=_internal\n```\n\nsearch chain1a\n```\n| search useTypeahead=true\n```" | |
} | |
}, | |
"viz_A5Kcf02B": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0chain1achain2a\n\nsearch base0\n```\nindex=_internal\n```\n\nsearch chain1a\n```\n| search useTypeahead=true\n```\n\nsearch chain2a\n```\n| stats count\n```" | |
} | |
}, | |
"viz_ymCZMl2z": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "combined non-chained search\n```\nindex=_internal \n| search useTypeahead=true \n| stats count\n```\n" | |
} | |
}, | |
"viz_rjA0XgMd": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0\n\nexpected" | |
} | |
}, | |
"viz_c4r59ekz": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0chain1a\n\n**unexpected**" | |
} | |
}, | |
"viz_hFoP7IsM": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "base0chain1achain2a\n\n**unexpected**" | |
} | |
}, | |
"viz_7lRWKreL": { | |
"type": "splunk.markdown", | |
"options": { | |
"markdown": "combined non-chained search\n\nexpected" | |
} | |
}, | |
"viz_Cj7WaH4s": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_k2Q0HCkl" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
}, | |
"viz_FIAOwdxA": { | |
"type": "splunk.singlevalue", | |
"options": {}, | |
"dataSources": { | |
"primary": "ds_3AXbkjfB" | |
}, | |
"context": {}, | |
"showProgressBar": false, | |
"showLastUpdated": false | |
} | |
}, | |
"dataSources": { | |
"ds_n4Q7l7oK": { | |
"type": "ds.search", | |
"options": { | |
"query": "index=_internal", | |
"queryParameters": { | |
"earliest": "$global_time.earliest$", | |
"latest": "$global_time.latest$" | |
} | |
}, | |
"name": "base0" | |
}, | |
"ds_gQjuR7jY": { | |
"type": "ds.search", | |
"options": { | |
"query": "index=_internal\n| search useTypeahead=true", | |
"queryParameters": { | |
"earliest": "$global_time.earliest$", | |
"latest": "$global_time.latest$" | |
} | |
}, | |
"name": "base1" | |
}, | |
"ds_gREZNTgj": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_gQjuR7jY", | |
"query": "| stats count" | |
}, | |
"name": "base1chain2" | |
}, | |
"ds_PozPBYIA_ds_gREZNTgj": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_Aoy6m25x_ds_PozPBYIA_ds_gREZNTgj", | |
"query": "| stats count" | |
}, | |
"name": "base0chain1achain2a" | |
}, | |
"ds_Aoy6m25x_ds_PozPBYIA_ds_gREZNTgj": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_n4Q7l7oK", | |
"query": "| search useTypeahead=true", | |
"enableSmartSources": true | |
}, | |
"name": "base0chain1a" | |
}, | |
"ds_BgOJ54ak": { | |
"type": "ds.search", | |
"options": { | |
"query": "index=_internal \n| search useTypeahead=true \n| stats count" | |
}, | |
"name": "base0chain1achain2aFull" | |
}, | |
"ds_dPaKD4JV_ds_Aoy6m25x_ds_PozPBYIA_ds_gREZNTgj": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_n4Q7l7oK", | |
"query": "| stats count", | |
"enableSmartSources": true | |
}, | |
"name": "base0chain1aMeta" | |
}, | |
"ds_HFmxTtzY_ds_Aoy6m25x_ds_PozPBYIA_ds_gREZNTgj": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_n4Q7l7oK", | |
"query": "| search useTypeahead=true", | |
"enableSmartSources": true | |
}, | |
"name": "base0chain1a copy 1" | |
}, | |
"ds_k2Q0HCkl": { | |
"type": "ds.search", | |
"options": { | |
"query": "index=_internal\n| search useTypeahead=true" | |
}, | |
"name": "base2" | |
}, | |
"ds_ejY3rrPW_ds_k2Q0HCkl": { | |
"type": "ds.search", | |
"options": { | |
"query": "index=_internal\n| search useTypeahead=true" | |
}, | |
"name": "chain2 copy 1" | |
}, | |
"ds_3AXbkjfB": { | |
"type": "ds.chain", | |
"options": { | |
"extend": "ds_k2Q0HCkl", | |
"query": "| stats count" | |
}, | |
"name": "base2chain3" | |
} | |
}, | |
"defaults": { | |
"dataSources": { | |
"ds.search": { | |
"options": { | |
"queryParameters": { | |
"latest": "$global_time.latest$", | |
"earliest": "$global_time.earliest$" | |
} | |
} | |
} | |
} | |
}, | |
"inputs": { | |
"input_global_trp": { | |
"type": "input.timerange", | |
"options": { | |
"token": "global_time", | |
"defaultValue": "-24h@h,now" | |
}, | |
"title": "Global Time Range" | |
} | |
}, | |
"layout": { | |
"type": "absolute", | |
"options": { | |
"width": 1440, | |
"height": 1200, | |
"display": "auto" | |
}, | |
"structure": [ | |
{ | |
"item": "viz_1ibEKiXT", | |
"type": "block", | |
"position": { | |
"x": 580, | |
"y": 90, | |
"w": 270, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_rYhOWilO", | |
"type": "block", | |
"position": { | |
"x": 290, | |
"y": 90, | |
"w": 270, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_HS70GboS", | |
"type": "block", | |
"position": { | |
"x": 0, | |
"y": 90, | |
"w": 270, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_cFoVJm3n", | |
"type": "block", | |
"position": { | |
"x": 1170, | |
"y": 90, | |
"w": 270, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_Oh0reZaV", | |
"type": "block", | |
"position": { | |
"x": 0, | |
"y": 390, | |
"w": 290, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_5jz1AX2v", | |
"type": "block", | |
"position": { | |
"x": 280, | |
"y": 390, | |
"w": 290, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_A5Kcf02B", | |
"type": "block", | |
"position": { | |
"x": 580, | |
"y": 390, | |
"w": 290, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_ymCZMl2z", | |
"type": "block", | |
"position": { | |
"x": 1170, | |
"y": 390, | |
"w": 290, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_rjA0XgMd", | |
"type": "block", | |
"position": { | |
"x": 0, | |
"y": 0, | |
"w": 290, | |
"h": 80 | |
} | |
}, | |
{ | |
"item": "viz_c4r59ekz", | |
"type": "block", | |
"position": { | |
"x": 290, | |
"y": 0, | |
"w": 290, | |
"h": 80 | |
} | |
}, | |
{ | |
"item": "viz_hFoP7IsM", | |
"type": "block", | |
"position": { | |
"x": 580, | |
"y": 0, | |
"w": 290, | |
"h": 80 | |
} | |
}, | |
{ | |
"item": "viz_7lRWKreL", | |
"type": "block", | |
"position": { | |
"x": 1150, | |
"y": 10, | |
"w": 290, | |
"h": 80 | |
} | |
}, | |
{ | |
"item": "viz_Cj7WaH4s", | |
"type": "block", | |
"position": { | |
"x": 290, | |
"y": 640, | |
"w": 270, | |
"h": 300 | |
} | |
}, | |
{ | |
"item": "viz_FIAOwdxA", | |
"type": "block", | |
"position": { | |
"x": 580, | |
"y": 640, | |
"w": 270, | |
"h": 300 | |
} | |
} | |
], | |
"globalInputs": [ | |
"input_global_trp" | |
] | |
}, | |
"description": "", | |
"title": "Chain Test" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment