Greetings,
How to add all of my alerts:
Into my dashboard? :
Thanks in advance!
Hi @mathiasy123
If your asking just for a basic panel that shows all alerts in a dashboard then it will be the below. You will need to make sure you are admin.
search to get all alerts and format nicely
|rest/servicesNS/-/-/saved/searches | search alert.track=1 | fields title author request.ui_dispatch_view eai:acl.sharing eai:acl.app
dashboard xml
<form>
<label> Test</label>
<row>
<panel>
<title>test</title>
<table>
<search>
<query>|rest/servicesNS/-/-/saved/searches | search alert.track=1 | fields title author request.ui_dispatch_view eai:acl.sharing eai:acl.app</query>
<earliest>-30m@m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">true</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
</row>
</form>
Hi @mathiasy123
If your asking just for a basic panel that shows all alerts in a dashboard then it will be the below. You will need to make sure you are admin.
search to get all alerts and format nicely
|rest/servicesNS/-/-/saved/searches | search alert.track=1 | fields title author request.ui_dispatch_view eai:acl.sharing eai:acl.app
dashboard xml
<form>
<label> Test</label>
<row>
<panel>
<title>test</title>
<table>
<search>
<query>|rest/servicesNS/-/-/saved/searches | search alert.track=1 | fields title author request.ui_dispatch_view eai:acl.sharing eai:acl.app</query>
<earliest>-30m@m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">true</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
</row>
</form>