Hello,
in old dashboard versions I was able to create multi line strings in table cells. However, in Dashboard Studio it doesn't work. Is there a workaround?
example for dashboard studio:
{
"dataSources": {
"ds_search_1": {
"type": "ds.search",
"options": {
"query": "| makeresults | eval value=\"line1\r\nline2\r\nline3\" \r\n| table value",
"queryParameters": {
"earliest": "-24h@h",
"latest": "now"
}
}
}
},
"visualizations": {
"viz_table_1": {
"type": "splunk.table",
"options": {
"count": 100,
"dataOverlayMode": "none",
"drilldown": "none",
"percentagesRow": false,
"rowNumbers": false,
"totalsRow": false,
"wrap": true
},
"dataSources": {
"primary": "ds_search_1"
}
}
},
"inputs": {
"input_global_trp": {
"type": "input.timerange",
"options": {
"token": "global_time",
"defaultValue": "-24h@h,now"
},
"title": "Global Time Range"
}
},
"layout": {
"type": "grid",
"options": {},
"structure": [
{
"item": "viz_table_1",
"type": "block",
"position": {
"x": 0,
"y": 0,
"w": 1200,
"h": 250
}
}
],
"globalInputs": [
"input_global_trp"
]
},
"title": "dashboardstudio",
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
}
}
}
}
}
}
examle for xml dashboard:
<dashboard version="1.1">
<label>delete_me_8</label>
<row>
<panel>
<table>
<search>
<query>| makeresults | eval value="line1
line2
line3"
| table value</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">100</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
</row>
</dashboard>
... View more