<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions on query to get all alerts which are configured in Splunk , 1 , 0 , and Blanks in the fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Questions-on-query-to-get-all-alerts-which-are-configured-in/m-p/712287#M240318</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256484"&gt;@Cheng2Ready&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a look in $SPLUNK_HOME/etc/system/default/savedsearches.conf - you can see some of the default values for items you're referring to, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;action.email               = 0
action.populate_lookup     = 0
action.rss                 = 0
action.script              = 0&lt;/LI-CODE&gt;&lt;P&gt;This ultimately means these arent configured, because if they were configured for a specific report/search/alert then the value would be updated to 1.&lt;/P&gt;&lt;P&gt;Not all variables are alike - Developers who create and share their own alert actions might use different default values (e.g. blank instead of 0).&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
    <pubDate>Sat, 22 Feb 2025 06:57:01 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-02-22T06:57:01Z</dc:date>
    <item>
      <title>Questions on query to get all alerts which are configured in Splunk , 1 , 0 , and Blanks in the fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Questions-on-query-to-get-all-alerts-which-are-configured-in/m-p/712270#M240314</link>
      <description>&lt;P&gt;So jumping into this search&amp;nbsp; question&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Alerting/How-can-I-query-to-get-all-alerts-which-are-configured/m-p/288845" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Alerting/How-can-I-query-to-get-all-alerts-which-are-configured/m-p/288845&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;my search I am using:&lt;BR /&gt;| rest /servicesNS/-/-/saved/searches splunk_server=local&lt;BR /&gt;| search disabled=0&lt;BR /&gt;|table title, disabled, action.hangout_chat_alert, action.email&lt;BR /&gt;&lt;BR /&gt;I came a across the question of there is any documentation on what the 1, 0 or Blank means? on some of the fields .&lt;BR /&gt;I have this alert that only has HangoutChat alert setup&lt;BR /&gt;when I run this query below It shows&lt;BR /&gt;&lt;BR /&gt;title&lt;BR /&gt;disabled=0&amp;nbsp;&lt;BR /&gt;action.hangout_chat_alert=0&lt;BR /&gt;and action.email=0&lt;BR /&gt;&lt;BR /&gt;I'm confused as to why email and hangout are returning the value 0&lt;BR /&gt;shouldn't it be like. disabled = 0 is returning me all alerts that are active and 1 is alerts that are actually disabled.&lt;BR /&gt;&lt;BR /&gt;title&lt;BR /&gt;disabled=0&amp;nbsp;&lt;BR /&gt;action.hangout_chat_alert=0&lt;BR /&gt;and action.email=blank&lt;BR /&gt;&lt;BR /&gt;my understanding with the 1 , 0 , and blank is&lt;BR /&gt;1 is enabled&lt;BR /&gt;0 is disabled&lt;BR /&gt;and blank is that it was not setup with that action.&lt;BR /&gt;&lt;BR /&gt;Now on the original post&lt;BR /&gt;you can see Mr &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1406"&gt;@woodcock&lt;/a&gt;&amp;nbsp;is explaining below that alert.track=1 means its a alert and 0 means its a report.&lt;BR /&gt;with all the other ones I don't believe it works the same .&lt;BR /&gt;is there a documentation that has this topic covered?&lt;BR /&gt;&lt;BR /&gt;and how does my alert above fall into with action.email=0 even though I clearly have not set that action with my alert.&amp;nbsp; only hangoutchat as the action.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cheng2Ready_0-1740179523497.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34663i52290981A823F854/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cheng2Ready_0-1740179523497.png" alt="Cheng2Ready_0-1740179523497.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ALL APPS:&lt;/P&gt;&lt;PRE&gt;|rest/servicesNS/-/-/saved/searches | search alert.track=1 | fields title description search disabled triggered_alert_count actions action.script.filename alert.severity cron_schedule&lt;/PRE&gt;&lt;P&gt;Search app only:&lt;/P&gt;&lt;PRE&gt;|rest/servicesNS/-/search/saved/searches | search alert.track=1 | fields title description search disabled triggered_alert_count actions action.script.filename alert.severity cron_schedule&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 23:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Questions-on-query-to-get-all-alerts-which-are-configured-in/m-p/712270#M240314</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2025-02-21T23:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Questions on query to get all alerts which are configured in Splunk , 1 , 0 , and Blanks in the fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Questions-on-query-to-get-all-alerts-which-are-configured-in/m-p/712287#M240318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256484"&gt;@Cheng2Ready&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a look in $SPLUNK_HOME/etc/system/default/savedsearches.conf - you can see some of the default values for items you're referring to, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;action.email               = 0
action.populate_lookup     = 0
action.rss                 = 0
action.script              = 0&lt;/LI-CODE&gt;&lt;P&gt;This ultimately means these arent configured, because if they were configured for a specific report/search/alert then the value would be updated to 1.&lt;/P&gt;&lt;P&gt;Not all variables are alike - Developers who create and share their own alert actions might use different default values (e.g. blank instead of 0).&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2025 06:57:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Questions-on-query-to-get-all-alerts-which-are-configured-in/m-p/712287#M240318</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-22T06:57:01Z</dc:date>
    </item>
  </channel>
</rss>

