<?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: How to create app that creates Alerts and Dashboards in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478299#M8485</link>
    <description>&lt;P&gt;This is all way easier from the CLI.  You can exploit &lt;CODE&gt;btool&lt;/CODE&gt; to do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;${SPLUNK_HOME}/bin/splunk btool savedesarches list --debug | grep to filter stuff like "etc/system/default" and "etc/system/local" &amp;gt; /tmp/savedsearches.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now that they are all in a single file, create an appropriate &lt;CODE&gt;app&lt;/CODE&gt; structure and properly segregate/aggregate them and then TRAIN YOUR USERS so that this will never happen again.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 02:12:33 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-01-02T02:12:33Z</dc:date>
    <item>
      <title>How to create app that creates Alerts and Dashboards</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478296#M8482</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I'm doing alerts &amp;amp; dashboards migration from one splunk server to another. In the past, I had to copy each dashboards and alerts manually and it took a long time to do since we had hundreds of them.&lt;BR /&gt;
so I was tasked to create 3 separate Splunk apps, each will migrate one of the following (separately):&lt;BR /&gt;
1. indexes &lt;BR /&gt;
2. alerts&lt;BR /&gt;
3. dashboards &lt;/P&gt;

&lt;P&gt;Does anyone have a good approach on how to do this properly?&lt;BR /&gt;
I wonder if a script will work and regarded as a Splunk app.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 19:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478296#M8482</guid>
      <dc:creator>mufthmu</dc:creator>
      <dc:date>2019-12-31T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create app that creates Alerts and Dashboards</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478297#M8483</link>
      <description>&lt;P&gt;I think we need more information.&lt;BR /&gt;&lt;BR /&gt;
Is this migration on-prem to on-prem or on-prem to cloud?&lt;BR /&gt;
Are you moving the entire Splunk instance or just some apps?&lt;BR /&gt;
Do you have CLI access?&lt;BR /&gt;
If you're migrating alerts &amp;amp; dashboards, why do you have a task to migrate indexes?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 21:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478297#M8483</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-12-31T21:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create app that creates Alerts and Dashboards</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478298#M8484</link>
      <description>&lt;P&gt;Hi @richgalloway , thanks for the response.&lt;BR /&gt;
This is migration from on prem to the cloud.&lt;BR /&gt;
I'm only moving the alerts and dashboards inside the apps.&lt;BR /&gt;
I do have CLI access and I can access both nodes.&lt;BR /&gt;
My priority is now alerts and dashboards, as far as indexes, Im not quite sure why.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 23:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478298#M8484</guid>
      <dc:creator>mufthmu</dc:creator>
      <dc:date>2020-01-01T23:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create app that creates Alerts and Dashboards</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478299#M8485</link>
      <description>&lt;P&gt;This is all way easier from the CLI.  You can exploit &lt;CODE&gt;btool&lt;/CODE&gt; to do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;${SPLUNK_HOME}/bin/splunk btool savedesarches list --debug | grep to filter stuff like "etc/system/default" and "etc/system/local" &amp;gt; /tmp/savedsearches.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now that they are all in a single file, create an appropriate &lt;CODE&gt;app&lt;/CODE&gt; structure and properly segregate/aggregate them and then TRAIN YOUR USERS so that this will never happen again.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 02:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478299#M8485</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-01-02T02:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create app that creates Alerts and Dashboards</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478300#M8486</link>
      <description>&lt;P&gt;Since you have CLI access on both ends, you can just copy files.  Look for &lt;CODE&gt;$SPLUNK_HOME/etc/apps/*/local/*&lt;/CODE&gt; on the old system and copy them to the same locations on the new system.  Any directory that doesn't exist on the new system is an app you probably need to install.  Adjust file paths in the files as necessary.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 13:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-app-that-creates-Alerts-and-Dashboards/m-p/478300#M8486</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-02T13:40:08Z</dc:date>
    </item>
  </channel>
</rss>

