Alerting

Add Saved Alert In Dashboard

mathiasy123
Path Finder

Greetings, 

 

How to add all of my alerts:

mathiasy123_0-1594368182913.png

Into my dashboard? :

mathiasy123_1-1594368216917.png

 

 

Thanks in advance!

Labels (2)
0 Karma
1 Solution

samneo
Path Finder
 
 

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>

 

 

 

 

View solution in original post

Tags (1)
0 Karma

samneo
Path Finder
 
 

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>

 

 

 

 

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...