hello,
i have a dashboard with 6 panels
i want to combine the panels so i will have 6 panels in one panel, two in a row
i succeeded to get two panels together at the same row but cannot have a new row at the same panel
(attached picture with example)
thanks
try this:
<row>
<panel>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<html tokens="true" encoded="true">
<![CDATA[
<br/>
]]>
</html>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<html tokens="true" encoded="true">
<![CDATA[
<br/>
]]>
</html>
<single>
<search>
<query>....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
</panel>
</row>
This is what I do in order to put two panels into one panel.
There are two sections in a single panel section: single and chart.
<form>
<label>My Dashboard</label>
<fieldset submitButton="false" autoRun="false">
<input type="time" token="field1">
...
</input>
<input type="dropdown" token="field2">
...
</input>
...
</fieldset>
<row>
<panel>
<title>Water Level by Time and Sensor</title>
<single>
<title>Active Sensors</title>
<search>
...
</search>
</single>
<chart>
<title>Sensor Level</title>
<search>
...
</search>
<option name="charting.axisTitleX.visibility">collapsed</option>
<option name="charting.axisTitleY.visibility">collapsed</option>
...
</chart>
</panel>
</row>
</form>
try this:
<row>
<panel>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<html tokens="true" encoded="true">
<![CDATA[
<br/>
]]>
</html>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
<html tokens="true" encoded="true">
<![CDATA[
<br/>
]]>
</html>
<single>
<search>
<query>....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>....</query>
</search>
<option name=...>...</option>
</single>
<single>
<search>
<query>.....</query>
</search>
<option name=...>...</option>
</single>
</panel>
</row>
hello
thanks for your answer, it looks like it not working or im doing something wrong.
this is my source code:`
CDR- Argentina and Peru
<single>
<title>Total number of calls</title>
<search>
<query>index = test OR index = FilteredCDR sourcetype=Filteredcdr_ARG ExternalServiceType=call SrcTelephonyClass=VOIP DstTelephonyClass=PSTN |stats dc(SessionId) AS value</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="drilldown">none</option>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="numberPrecision">0</option>
<option name="rangeColors">["0xd93f3c","0x65a637"]</option>
<option name="rangeValues">[50]</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="linkView">search</option>
</single>
<single>
<title>Total number of calls</title>
<search>
<query>index = test OR index = FilteredCDR sourcetype=Filteredcdr_ARG ExternalServiceType=call SrcTelephonyClass=PSTN DstTelephonyClass=Voip |stats dc(SessionId) AS value</query>
<earliest>0</earliest>
</search>
<option name="drilldown">none</option>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="numberPrecision">0</option>
<option name="rangeColors">["0xd93f3c","0x65a637"]</option>
<option name="rangeValues">[50]</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="linkView">search</option>
</single>
<html tokens="true" encoded="true">
<![CDATA[
<br/>
]]>
</html>
<single>
<title>Total number of calls</title>
<search>
<query>index = test OR index = FilteredCDR sourcetype=Filteredcdr_ARG ExternalServiceType=call SrcTelephonyClass=PSTN DstTelephonyClass=Voip |stats dc(SessionId) AS value</query>
<earliest>0</earliest>
</search>
<option name="drilldown">none</option>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="numberPrecision">0</option>
<option name="rangeColors">["0xd93f3c","0x65a637"]</option>
<option name="rangeValues">[50]</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="linkView">search</option>
</single>
<single>
<title>Total number of calls</title>
<search>
<query>index = test OR index = FilteredCDR sourcetype=Filteredcdr_PR ExternalServiceType=call SrcTelephonyClass=VOIP DstTelephonyClass=PSTN |stats dc(SessionId) AS value</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="drilldown">none</option>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="numberPrecision">0</option>
<option name="rangeColors">["0xd93f3c","0x65a637"]</option>
<option name="rangeValues">[50]</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="linkView">search</option>
</single>
<single>
<title>Total number of calls</title>
<search>
<query>index = test OR index = FilteredCDR sourcetype=Filteredcdr_ARG ExternalServiceType=call SrcTelephonyClass=PSTN DstTelephonyClass=Voip |stats dc(SessionId) AS value</query>
<earliest>0</earliest>
</search>
<option name="drilldown">none</option>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="numberPrecision">0</option>
<option name="rangeColors">["0xd93f3c","0x65a637"]</option>
<option name="rangeValues">[50]</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="linkView">search</option>
</single>
`
and the result is 6 separate panels. (can't attach image)
try taking out tokens="true" encoded="true"
in the html panels (or at least the tokens="true"). sorry that was specific to my dashboard and it might not work with yours.
still the same
its just added new panel with
on it
Give this a try
<form>
...other code..
<row>
<panel>
<single>
.....
</single>
</panel>
</row>
<row>
<panel>
<single>
</single>
</panel>
</row>
<row>
<panel>
<single>
</single>
.......
</panel>
</row>
</form>
it will give me panel in a row..
this is not what i need
i need all of the 6 panels to be at one panel
Your goal is not very clear with description or picture. Your image has five panels and you mentioned six.
Nevertheless, let me give it a try.
Following is your usual Row/Panel hierarchy with two panels in two different rows.
<row>
<panel>
<chart>
....
</chart>
</panel>
</row>
<row>
<panel>
<chart>
....
</chart>
</panel>
</row>
1) Bring two panels in single row : Delete following lines in middle. This allows two panels in same row but keeps single value charts as Panel allow you to move them around in Edit Panels mode, if required.
</row>
<row>
2) Bring two panels in single row and single panel: Delete following lines in middle. This allows two panels in same row and same Panels. Now when you move them around in Edit mode, you move Entire panel with two charts.
</panel>
</row>
<row>
<panel>
You have several ways to play around with XML to suit your needs. You can also try HTML panel which makes it even more dynamic.
Check out Row Grouping with Single Values example on Splunk 6.x Dashboard Examples app from Splunkbase for more details.
If this is not what you need, please attach a mock screenshot of what you require, so that assisting further will be possible.
Hello
thanks for you answer. as i said the screenshot is for example.
i tried row grouping but this let me combine two panels at one row
what i need is to combine 6 panels into one so i will have 3 rows with two singles at one row
like this:
XX
XX
XX