There are a couple of ways (at least) to do this Here is an example dashboard - that shows three techniques. 1. Uses a token in a base search to define the sort order as a token ($sort_order$) - there is an annoying issue with this method, which means that once the trellis is shown with the order, it will NOT reorder the trellis if the underlying table order changes. 2. Uses 6 separate single panels aligned horizontally and six tokens that define the display for the viz. ($f0$ to $f5$). This re-orders on change 3. Uses @chrisyounger number set viz - https://splunkbase.splunk.com/app/4537 which will do all this for you and does not require tokens and will re-order when things change There is possibly a search way directly to do it (appendpipe...?), but with the dashboard, it's pretty simple <dashboard version="1.1" theme="light">
<label>Sort_TC</label>
<row>
<panel>
<table depends="$hidden$">
<search id="base">
<query>
| makeresults count=3600
| streamstats c
| eval _time=relative_time(now(), "@m") - c
| eval type=mvindex(split("Budgeting,General Ledger,Payables,Expenses,eProcurement,Purchasing",","), random() % 6)
| timechart fixedrange=f span=1m count by type
</query>
<earliest>-60m@m</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="refresh.display">progressbar</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
<table depends="hidden$">
<title>Sorting order is $sort_order$</title>
<search base="base">
<done>
<set token="sort_order">$result.sort$</set>
<set token="f0">$result.f0$</set>
<set token="f1">$result.f1$</set>
<set token="f2">$result.f2$</set>
<set token="f3">$result.f3$</set>
<set token="f4">$result.f4$</set>
<set token="f5">$result.f5$</set>
</done>
<query>| tail 1
| fields - _span _time
| transpose 0
| sort - "row 1"
| stats list(column) as sort list("row 1") as counts
| foreach 0 1 2 3 4 5 [ eval f<<FIELD>>=mvindex(sort, <<FIELD>>) ]
| eval sort="\"".mvjoin(sort, "\" \"")."\""</query>
</search>
<option name="count">100</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="percentagesRow">false</option>
<option name="refresh.display">progressbar</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
<single>
<search base="base">
<query>| table _time $sort_order$</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="refresh.display">progressbar</option>
<option name="trellis.enabled">1</option>
<option name="useColors">1</option>
</single>
</panel>
</row>
<row>
<panel>
<single>
<title>$f0$</title>
<search base="base">
<query>
| table _time $f0|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
<single>
<title>$f1$</title>
<search base="base">
<query>
| table _time $f1|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
<single>
<title>$f2$</title>
<search base="base">
<query>
| table _time $f2|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
<single>
<title>$f3$</title>
<search base="base">
<query>
| table _time $f3|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
<single>
<title>$f4$</title>
<search base="base">
<query>
| table _time $f4|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
<single>
<title>$f5$</title>
<search base="base">
<query>
| table _time $f5|s$
</query>
</search>
<option name="colorMode">block</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="useColors">1</option>
</single>
</panel>
</row>
<row>
<panel>
<viz type="number_set_viz.number_set_viz">
<search base="base">
<query>
| stats sparkline(max(*)) as sparkline_* latest(*) as *
| appendpipe [
| foreach sparkline_* [ eval <<MATCHSTR>>='<<FIELD>>']
]
| fields - sparkline_*
| transpose 0
| rename "row 1" as value, column as title "row 2" as sparkline
| sort - value
</query>
</search>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</viz>
</panel>
</row>
</dashboard>
... View more