<?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: Dynamic Hyperlinks between Pre-Production and Production in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690027#M56536</link>
    <description>&lt;P&gt;When I have seen something similar with others, we ended up leveraging cname records within DNS to set aliases - similar to a macro that you would only have to change once at the source.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think that would be a viable solution within your environment?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 16:30:45 GMT</pubDate>
    <dc:creator>eriegner</dc:creator>
    <dc:date>2024-06-07T16:30:45Z</dc:date>
    <item>
      <title>Dynamic Hyperlinks between Pre-Production and Production</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690000#M56534</link>
      <description>&lt;P&gt;We have a pre-production environment which is totally separate to our production environment. A number of our dashboards utilise hyperlinks back into source systems to view complete records, and part of the urls are different due to IP addresses on the two environemnts. What I would like to do is be able to set a global&amp;nbsp;setting so that we can utilise the same dashboards without having to recode the link when we migrate from pre-produciton to production. I have tried to use a marco but as these are limited to search it did not effect the link target, is there any other way that we can do this without having to put in steps in migration to ammend the URLs?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Steven&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 14:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690000#M56534</guid>
      <dc:creator>El_Franco</dc:creator>
      <dc:date>2024-06-07T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Hyperlinks between Pre-Production and Production</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690027#M56536</link>
      <description>&lt;P&gt;When I have seen something similar with others, we ended up leveraging cname records within DNS to set aliases - similar to a macro that you would only have to change once at the source.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think that would be a viable solution within your environment?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690027#M56536</guid>
      <dc:creator>eriegner</dc:creator>
      <dc:date>2024-06-07T16:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Hyperlinks between Pre-Production and Production</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690100#M56541</link>
      <description>&lt;P&gt;You could try using tokens as parts of URLs. If all else fails, you could of course try to write custom JS (if it's a SimpleXML dashboard; won't work for Dashboard Studio dashboards AFAIR) but it's not a pretty solution.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 21:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690100#M56541</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-06-08T21:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Hyperlinks between Pre-Production and Production</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690179#M56547</link>
      <description>&lt;P&gt;Thanks - tokens look promising enough... i can check if it is Cloud and if so set the token to one value, if not as another.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 07:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690179#M56547</guid>
      <dc:creator>El_Franco</dc:creator>
      <dc:date>2024-06-10T07:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Hyperlinks between Pre-Production and Production</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690185#M56548</link>
      <description>&lt;P&gt;I have added the following to a dashboard to try and set the variable when it loads:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;init&amp;gt;
&amp;lt;condition match="$env:instance_type$ == cloud"&amp;gt;
    &amp;lt;set token="URL"&amp;gt;Chips&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition&amp;gt;
    &amp;lt;set token="URL"&amp;gt;Fish&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;/init&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;While the $env:instance_type$ works to bring back the details of the environment when I map it directly in an HTML block it does not seem to want to evaluate in the initiate tags... I do not really want to push this into the parameters on the dashboard as this will confuse users and end up with mistakes happening - is there anywhere else I can set this seamlessly as the dashboard loads?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Hyperlinks-between-Pre-Production-and-Production/m-p/690185#M56548</guid>
      <dc:creator>El_Franco</dc:creator>
      <dc:date>2024-06-10T08:45:12Z</dc:date>
    </item>
  </channel>
</rss>

