<?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: Create splunk alert using config files in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608740#M14124</link>
    <description>&lt;P&gt;I am using the following configuration, but still can't see it&lt;/P&gt;&lt;P&gt;[Gurobitest]&lt;BR /&gt;# send an email notification&lt;BR /&gt;action.email = 1&lt;BR /&gt;action.email.to = &amp;lt;my_email_address&amp;gt;&lt;BR /&gt;action.email.useNSSubject = 1&lt;/P&gt;&lt;P&gt;alert.suppress = 0&lt;BR /&gt;alert.track = 0&lt;/P&gt;&lt;P&gt;cron_schedule = 0 23 * * *&lt;/P&gt;&lt;P&gt;counttype = number of events&lt;BR /&gt;quantity = 0&lt;BR /&gt;relation = greater than&lt;/P&gt;&lt;P&gt;#search for results in the last day&lt;BR /&gt;dispatch.earliest_time = -1d&lt;BR /&gt;dispatch.latest_time = now&lt;/P&gt;&lt;P&gt;display.events.fields = ["host","source","sourcetype","latitude"]&lt;BR /&gt;display.page.search.mode = verbose&lt;BR /&gt;display.visualizations.charting.chart = area&lt;BR /&gt;display.visualizations.type = mapping&lt;/P&gt;&lt;P&gt;enableSched = 1&lt;/P&gt;&lt;P&gt;request.ui_dispatch_app = search&lt;BR /&gt;request.ui_dispatch_view = search&lt;BR /&gt;search = sourcetype=gurobi_expiration&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 20:17:32 GMT</pubDate>
    <dc:creator>fatmamaamouri</dc:creator>
    <dc:date>2022-08-08T20:17:32Z</dc:date>
    <item>
      <title>How to create splunk alert using config files?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608716#M14120</link>
      <description>&lt;P&gt;I created savedsearches.conf file to create a splunk alert and restart the splunk service, but I still can't see the new alert in the UI, I am using the following configuration:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fatmamaamouri_0-1659978435330.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20934i5A11CF94D4B3A2F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fatmamaamouri_0-1659978435330.png" alt="fatmamaamouri_0-1659978435330.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 14:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608716#M14120</guid>
      <dc:creator>fatmamaamouri</dc:creator>
      <dc:date>2022-08-09T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608727#M14121</link>
      <description>&lt;P&gt;Splunk doesn't like "0/1 * * * *" as a cron schedule.&amp;nbsp; Try "* * * * *" to get it working.&amp;nbsp; Then change to a less-frequent schedule.&lt;/P&gt;&lt;P&gt;The config is missing the &lt;FONT face="courier new,courier"&gt;counttype&lt;/FONT&gt; setting.&amp;nbsp; Without it, the search defaults to a report.&amp;nbsp; To make it an alert, set &lt;FONT face="courier new,courier"&gt;counttype = number of events&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:22:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608727#M14121</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-08T19:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608728#M14122</link>
      <description>&lt;P&gt;At what location did you place the savedsearches.conf? Are you looking at correct app context?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608728#M14122</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-08-08T19:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608738#M14123</link>
      <description>&lt;P&gt;I create it under&amp;nbsp;/opt/splunkforwarder/etc/apps/gurobi/default/&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608738#M14123</guid>
      <dc:creator>fatmamaamouri</dc:creator>
      <dc:date>2022-08-08T20:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608740#M14124</link>
      <description>&lt;P&gt;I am using the following configuration, but still can't see it&lt;/P&gt;&lt;P&gt;[Gurobitest]&lt;BR /&gt;# send an email notification&lt;BR /&gt;action.email = 1&lt;BR /&gt;action.email.to = &amp;lt;my_email_address&amp;gt;&lt;BR /&gt;action.email.useNSSubject = 1&lt;/P&gt;&lt;P&gt;alert.suppress = 0&lt;BR /&gt;alert.track = 0&lt;/P&gt;&lt;P&gt;cron_schedule = 0 23 * * *&lt;/P&gt;&lt;P&gt;counttype = number of events&lt;BR /&gt;quantity = 0&lt;BR /&gt;relation = greater than&lt;/P&gt;&lt;P&gt;#search for results in the last day&lt;BR /&gt;dispatch.earliest_time = -1d&lt;BR /&gt;dispatch.latest_time = now&lt;/P&gt;&lt;P&gt;display.events.fields = ["host","source","sourcetype","latitude"]&lt;BR /&gt;display.page.search.mode = verbose&lt;BR /&gt;display.visualizations.charting.chart = area&lt;BR /&gt;display.visualizations.type = mapping&lt;/P&gt;&lt;P&gt;enableSched = 1&lt;/P&gt;&lt;P&gt;request.ui_dispatch_app = search&lt;BR /&gt;request.ui_dispatch_view = search&lt;BR /&gt;search = sourcetype=gurobi_expiration&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:17:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608740#M14124</guid>
      <dc:creator>fatmamaamouri</dc:creator>
      <dc:date>2022-08-08T20:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608741#M14125</link>
      <description>&lt;P&gt;same path used for inputs.conf file and I can see logs from that data source in the UI&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608741#M14125</guid>
      <dc:creator>fatmamaamouri</dc:creator>
      <dc:date>2022-08-08T20:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608742#M14126</link>
      <description>&lt;P&gt;If you're really installing the alert on a Universal Forwarder then you'll never see it because UFs don't have a UI.&amp;nbsp; Are you sure that's location where the edits were made?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608742#M14126</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-08T20:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608744#M14127</link>
      <description>&lt;P&gt;yes I am sure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fatmamaamouri_0-1659990805895.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20939i57859F41373BE18F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fatmamaamouri_0-1659990805895.png" alt="fatmamaamouri_0-1659990805895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608744#M14127</guid>
      <dc:creator>fatmamaamouri</dc:creator>
      <dc:date>2022-08-08T20:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create splunk alert using config files</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608852#M14132</link>
      <description>&lt;P&gt;The inputs.conf is for data collection which can happen on both Splunk Universal Forwarder and Splunk enterprise. The alerting (which is basically scheduled searching) happens only on Splunk Enterprise instances, commonly on your Search Heads. Instead of creating the alert on UF, place it on your Search Head (where you're searching the data).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 12:59:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-splunk-alert-using-config-files/m-p/608852#M14132</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-08-09T12:59:45Z</dc:date>
    </item>
  </channel>
</rss>

