<?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 hostname in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513978#M34311</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, unfortunately that would not work in this situation because&amp;nbsp; since I eventually plan to put these dashboards into an app. I need to figure out how to make the hostname universal so everyone can you use it without having to change the hostname value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Marco&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 20:18:11 GMT</pubDate>
    <dc:creator>Marco</dc:creator>
    <dc:date>2020-08-13T20:18:11Z</dc:date>
    <item>
      <title>Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513785#M34287</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;I have created a dashboard and I hard coded the hostname. This has become an issue because I have multiple systems and in order to reuse the dashboard I have to manually change the hostname&amp;nbsp; in each of my visualization&amp;nbsp; inside the dash board. Is there a way to make hostname a variable and let the user input which hostname they would like to use?&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;List of hostnames:&lt;/P&gt;&lt;P&gt;S0W1SANDBOX&lt;/P&gt;&lt;P&gt;S0W1PRODUCTION&lt;/P&gt;&lt;P&gt;S0W1 WAREHOUSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;host=S0W1PRODUCTION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 21:55:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513785#M34287</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2020-08-12T21:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513866#M34299</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224853"&gt;@Marco&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you tried to put the hostnames in a lookup and insert a dropdown in dashboard to choose the hostname?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 09:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513866#M34299</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-13T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513978#M34311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, unfortunately that would not work in this situation because&amp;nbsp; since I eventually plan to put these dashboards into an app. I need to figure out how to make the hostname universal so everyone can you use it without having to change the hostname value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Marco&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 20:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513978#M34311</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2020-08-13T20:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513981#M34312</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How about to use a savedsearch to update that lookup? Then there will be always needed hostnames, if you have some rules which host you want to add to this dashboard?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 20:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/513981#M34312</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-13T20:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514026#M34317</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224853"&gt;@Marco&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;have you an hostname related to each user?&lt;/P&gt;&lt;P&gt;if yes, you could read the current user and using the above lookup select the correct hostname.&lt;/P&gt;&lt;P&gt;To read the current user, use this search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/authentication/current-context | rename username AS User_Name | fields User_Name&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 06:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514026#M34317</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-14T06:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514137#M34334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;No, I have a host name per System.&amp;nbsp; This is the Query i'm issuing is:&lt;/P&gt;&lt;P&gt;host=S0W1 | where like(COMMAND, "MKDIR%")| stats count(COMMAND) AS "Number of times MKDIR Command was issued"&lt;/P&gt;&lt;P&gt;Is there a way to make &lt;STRONG&gt;&lt;EM&gt;host&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;name more plug in play friendly because as of right now if I want to run the reports in both systems I have to change the &lt;EM&gt;&lt;STRONG&gt;host&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;name manually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;host=S0W1 | where like(COMMAND, "MKDIR%")| stats count(COMMAND) AS "Number of times MKDIR Command was issued"&lt;/P&gt;&lt;P&gt;host=S0W1.PRODUCTION | where like(COMMAND, "MKDIR%")| stats count(COMMAND) AS "Number of times MKDIR Command was issued"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco_4-1597416602818.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10262iF0ECC342A12A69D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco_4-1597416602818.png" alt="Marco_4-1597416602818.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Marco_4-1597416602818.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 15:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514137#M34334</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2020-08-14T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic hostname</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514182#M34336</link>
      <description>&lt;P&gt;Came up with a temporary solution, I set the host value equal to a wild card.&lt;/P&gt;&lt;P&gt;Ex: host = *&lt;/P&gt;&lt;P&gt;It's doing the job thanks guys!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 18:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-hostname/m-p/514182#M34336</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2020-08-14T18:44:59Z</dc:date>
    </item>
  </channel>
</rss>

