<?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: URLs in alerts are correct but being routed to the wrong app and returns 404 in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184464#M12404</link>
    <description>&lt;P&gt;No, the app label still has the capital letters. I would like to leave it that way. But just for testing I did change it and it does not seem to have an effect on the URL, nor would I expect it to. Most apps have different labels than their physical paths, right?&lt;/P&gt;

&lt;P&gt;Yes, the physical path is correct and has the new name.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2014 19:05:16 GMT</pubDate>
    <dc:creator>neiljpeterson</dc:creator>
    <dc:date>2014-06-02T19:05:16Z</dc:date>
    <item>
      <title>URLs in alerts are correct but being routed to the wrong app and returns 404</title>
      <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184462#M12402</link>
      <description>&lt;P&gt;Generated links in alerts are being routed to an old name of an app even though the path is correct.&lt;/P&gt;

&lt;P&gt;The name change was just a change in case (eg MyApp to myapp) because it was causing an &lt;A href="http://answers.splunk.com/answers/137700/when-trying-to-schedule-a-pdf-email-delivery-i-receive-the-following-error-in-handler-scheduledviews-could-not-find-writer"&gt;issue&lt;/A&gt; with savedsearches.conf&lt;/P&gt;

&lt;P&gt;Now when an alert goes out the link is (spaces added to escape auto-formatting)&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;https:// splunk.domain. net/app/myapp/@go?sid=rt_scheduler_bmVpbC5wZXRlcnNvbg__myapp__RMD5ec95cf321e8ea7ff_at_1401458542_0.246&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;HOWEVER the browser is actually routed to &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;A href="https://splunk.domain.net/app/" target="test_blank"&gt;https://splunk.domain.net/app/&lt;/A&gt;&lt;/CODE&gt;&lt;STRONG&gt;MyApp&lt;/STRONG&gt;&lt;CODE&gt;/@go?sid=rt_scheduler_bmVpbC5wZXRlcnNvbg__myapp__RMD5ec95cf321e8ea7ff_at_1401458542_0.246&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I reinstalled the app, restarted the server and did a /debug/refresh the links still are not working correctly.&lt;/P&gt;

&lt;P&gt;What are my next steps?&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 21:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184462#M12402</guid>
      <dc:creator>neiljpeterson</dc:creator>
      <dc:date>2014-05-30T21:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: URLs in alerts are correct but being routed to the wrong app and returns 404</title>
      <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184463#M12403</link>
      <description>&lt;P&gt;Hi neiljipeterson,&lt;/P&gt;

&lt;P&gt;did you check app.conf in your app directory does that match the new name, also check if the directory in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&lt;/CODE&gt; matches the new name.&lt;/P&gt;

&lt;P&gt;I just did a test &lt;EM&gt;renaming&lt;/EM&gt; my test app &lt;CODE&gt;mySandBox&lt;/CODE&gt; to &lt;CODE&gt;myfooBOX&lt;/CODE&gt; by changing the label in app.conf but not changing the directory in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&lt;/CODE&gt;. So now my app is labeled &lt;CODE&gt;myfooBOX&lt;/CODE&gt; in Splunk but the URL is still pointing to &lt;CODE&gt;&lt;A href="http://mysplunkserver/en-US/app/mySandBox/search" target="test_blank"&gt;http://mysplunkserver/en-US/app/mySandBox/search&lt;/A&gt;&lt;/CODE&gt; ...&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 13:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184463#M12403</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-02T13:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: URLs in alerts are correct but being routed to the wrong app and returns 404</title>
      <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184464#M12404</link>
      <description>&lt;P&gt;No, the app label still has the capital letters. I would like to leave it that way. But just for testing I did change it and it does not seem to have an effect on the URL, nor would I expect it to. Most apps have different labels than their physical paths, right?&lt;/P&gt;

&lt;P&gt;Yes, the physical path is correct and has the new name.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184464#M12404</guid>
      <dc:creator>neiljpeterson</dc:creator>
      <dc:date>2014-06-02T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: URLs in alerts are correct but being routed to the wrong app and returns 404</title>
      <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184465#M12405</link>
      <description>&lt;P&gt;So I found the issue here.&lt;/P&gt;

&lt;P&gt;There was a duplicate stanza in &lt;CODE&gt;$SPLUNK_HOME\etc\users\my.user\myapp\local\savedsearches.conf&lt;/CODE&gt; that had the old app name for &lt;CODE&gt;request.ui_dispatch_app&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;This stanza was trumping the stanza in app directory.&lt;/P&gt;

&lt;P&gt;I think this happened because I manually copied the savedsearch to the app directory but forgot to remove it from my user\app\local directory. &lt;/P&gt;

&lt;P&gt;A great lesson in conf file order of precedence. &lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184465#M12405</guid>
      <dc:creator>neiljpeterson</dc:creator>
      <dc:date>2014-06-02T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: URLs in alerts are correct but being routed to the wrong app and returns 404</title>
      <link>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184466#M12406</link>
      <description>&lt;P&gt;nice done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2014 05:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/URLs-in-alerts-are-correct-but-being-routed-to-the-wrong-app-and/m-p/184466#M12406</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-03T05:36:09Z</dc:date>
    </item>
  </channel>
</rss>

