<?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 In DMC, how is the Instance page populated? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365787#M3180</link>
    <description>&lt;P&gt;What is the query/rest call to create the list?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 14:18:07 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2017-11-10T14:18:07Z</dc:date>
    <item>
      <title>In DMC, how is the Instance page populated?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365787#M3180</link>
      <description>&lt;P&gt;What is the query/rest call to create the list?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365787#M3180</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-11-10T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: In DMC, how is the Instance page populated?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365788#M3181</link>
      <description>&lt;P&gt;Hi @lycollicott,&lt;/P&gt;

&lt;P&gt;In DMC, Instance page is using &lt;CODE&gt;dmc_instances_view_default_search(1)&lt;/CODE&gt; macro and this is the query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |  inputlookup dmc_assets | search search_group = $group$ | mvcombine search_group | join type=outer peerURI [| rest splunk_server=local /services/search/distributed/peers | rename title as peerURI ] | join type=outer peerURI [| rest splunk_server=local /services/server/info | eval peerURI = "localhost" | eval status = "Up"] | join peerURI [| `dmc_get_instance_roles` ] | eval status = if(status == "Up", status, "Unreachable") | eval Action = serverName." ".role | eval OS = os_name | eval ram = round(physicalMemoryMB / 1024, 2)." GB" | fields serverName, machine, role, OS, numberOfCores, ram, version, status, Action | sort status, serverName | rename serverName as Instance, machine as Machine, role as Role, numberOfCores as "Cores", ram as RAM, version as Version, status as Status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Are you looking for this?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365788#M3181</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-11-10T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: In DMC, how is the Instance page populated?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365789#M3182</link>
      <description>&lt;P&gt;Perfect!  Switch this to an answer and I'll accept it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/In-DMC-how-is-the-Instance-page-populated/m-p/365789#M3182</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-11-10T14:45:07Z</dc:date>
    </item>
  </channel>
</rss>

