<?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: Windows 10 VDI Process &amp;amp; 18,000 concurrent sessions in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202608#M2706</link>
    <description>&lt;P&gt;Julius-&lt;/P&gt;&lt;P&gt;I appreciate the response and this is what I needed to get started.&amp;nbsp; The initial snippet of code is working and returned top 100.&amp;nbsp; The subsequent questions relate to the first one and I appreciate the information provided.&amp;nbsp; I'll close this thread.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the time,&lt;/P&gt;&lt;P&gt;-Murphy&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 14:20:07 GMT</pubDate>
    <dc:creator>StoleSursum</dc:creator>
    <dc:date>2023-01-17T14:20:07Z</dc:date>
    <item>
      <title>Windows 10 VDI Process &amp; 18,000 concurrent sessions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202480#M2702</link>
      <description>&lt;P&gt;I searched the forums previously for answer to no avail.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Asking about options to Dashboard a compiled and installed enterprise application consisting of two primary binaries running across 18,000 concurrent non-persistent VDI Windows 10 machines.&amp;nbsp; Standard and advanced process rules in settings relegated to Java or environment variables without option to define mybinary1.exe, mybinary2.exe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can pull process information from each VDI but what I need, the ask, is a usable dashboard where I can convey top 100 machines (example) where MyBinary1.exe consumes the most Memory and CPU.&lt;/P&gt;
&lt;P&gt;Better yet -&lt;/P&gt;
&lt;P&gt;# if MyBinary1.exe processes running in my environment between these hours and over this timeframe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# of crashes in Windows OS for this specific process&lt;/P&gt;
&lt;P&gt;# of instances running across the enterprise as single value&lt;/P&gt;
&lt;P&gt;List goes on and on relative to what we could do if it were possible to create a custom monitor, object, group or whatever for specific processes that run on Windows OS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It captures this information per host (aka VDI) but in my case the value of the data is relevant if I can see what that process is doing across nearly 20,000 Windows 10 non-persistent VDI.&amp;nbsp; DT agent resides on every machine so it's a huge amount of potentially valuable data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One simple and basic example is new code updates.&amp;nbsp; We generally push these out with SCCM and it might be a minor or major release.&amp;nbsp; I want to see or show the difference of that same named version file before and after we push a new release.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, I need to see the overall impact relative to CPU and Memory consumption relative to my overall capacity and relative to future capacity planning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, another example, beta testing - Business Unit A wants to deploy "&lt;STRONG&gt;PotentialNewAppXXX&lt;/STRONG&gt;" to the environment.&amp;nbsp; Initially, we deploy PotentialNewApp to 1000 machines.&amp;nbsp; Why 1000 machines? Well, 100 machines is better than 10 when you have nearly 20000 VDI users and wanting to get a better feel for performance impact.&amp;nbsp; I can't get a feel for performance of that new software deployment unless I can measure that Windows executable across all 100.&lt;/P&gt;
&lt;P&gt;Next, discovery aka security of undefined.&amp;nbsp; Ideally, I want to catalog all of our KNOWN processes and create a KNOWN and APPROVED processes running on 20000 VDI desktops.&amp;nbsp; I would like to pull reports that show UNKNOWN processes where those EXE files do not match the approved.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've given a few basic examples and I'm sure that others can see the value of this capability.&amp;nbsp; Other tools provide this out of the box.&amp;nbsp; But I'm not using other tools and do not wish to purchase additional tools to do something I believe should be doable.&amp;nbsp; Perhaps I just don't, yet, know how to do it.&lt;/P&gt;
&lt;P&gt;I'm hoping someone in this forum has done it and perhaps we can exchange Dashboard JSON files or point me in the direction.&amp;nbsp; This doesn't seem to exist with the existing documentation as I've gone through all of it and including Dynatrace University.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify, I'm using the word process as synonymous to a windows executable process that would show up in Process Monitor on the Windows machine.&amp;nbsp; I can easily view that process on any one VDI out of the 20000 with no problem.&amp;nbsp; Sure, I can pull up that process group as well and down toward the bottom I could sort by CPU usage and sift through 2000 pages but that has no value relative to my ask.&lt;/P&gt;
&lt;P&gt;I have deep monitoring enabled on that process and more metrics relative to that process.&amp;nbsp; Unfortunately, none of the available views to the Windows process running is there an option to pull that to a dashboard and I have full administrative rights.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate the time.&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&amp;nbsp; If there is someone on the forum looking to do the same or done it already please reach out.&amp;nbsp; I'm open to a collaborative effort given the incalculable value as it pertains to measuring these types of things and across every monitored machine.&amp;nbsp; Including additional and side discussions as to how we might take it further and sharing of knowledge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I stated earlier, perhaps I'm just missing it and overlooked something.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Murphy&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 14:30:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202480#M2702</guid>
      <dc:creator>StoleSursum</dc:creator>
      <dc:date>2023-05-22T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Windows 10 VDI Process &amp; 18,000 concurrent sessions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202505#M2703</link>
      <description>&lt;P&gt;Too many questions in a single post&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;Nevertheless with Data Explorer you are limited to 100 series within a single chart. So for example to find the top 100 hosts where your process consumed most of the CPU you should be able to cover with the following metric selector:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:tech.generic.cpu.usage
:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),entityName.equals(~"My Awesome Java Process~")")))))
:parents
:splitBy("dt.entity.host")
:sort(value(avg,descending))
:limit(100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just adapt the entitySelector to cover your application. For metrics - you can use similar queries for memory or suspension (since you mention you have deep monitoring enabled).&lt;BR /&gt;&lt;BR /&gt;Number of crashes - this becomes a little bit tricky. As far as I know, there is not a built-in metric for that. It's only event which unfortunately cannot be added to a dashboard (yet). But you can easily query the number of such events using the &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-events-v2-get-events-list" target="_self"&gt;Events v2 API&lt;/A&gt;&amp;nbsp;and push a metric back to Dynatrace using &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-post-datapoints" target="_self"&gt;Metrics API v2&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Having the number of running instances - I believe you can use the builtin metric&amp;nbsp;builtin:tech.generic.processCount directly for that (with filtering for your process groups).&lt;BR /&gt;&lt;BR /&gt;All the filters depend on how your process groups are organized - if you use host groups for example. You can leverage tags or &lt;A href="https://www.dynatrace.com/support/help/shortlink/release-hub" target="_self"&gt;release monitoring&lt;/A&gt;&amp;nbsp;with version detection probably based on &lt;A href="https://www.dynatrace.com/support/help/shortlink/version-detection#environment-variables" target="_self"&gt;environment variables.&lt;/A&gt;&amp;nbsp;It's not designed for windows VDi monitoring but it may fit your case. For example it provides you directly with an overview such as crashes.&lt;BR /&gt;&lt;BR /&gt;If you will use environment variables as version detection strategy, you will then have tags populated. Then you can use filtering such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(PROCESS_GROUP_INSTANCE),name("My Awesome App"),tag("[Environment]DT_RELEASE_VERSION:1.1.2")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Data explorer for filtering metrics only for particular release.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Getting the data for all processes (from the OS perspective) is not really feasible right now to evaluate approved and unapproved processes. Dynatrace collected detailed data only about important &lt;A href="https://www.dynatrace.com/support/help/shortlink/most-important-processes" target="_self"&gt;processes&lt;/A&gt;&amp;nbsp;or the ones you specifically detect with &lt;A href="https://www.dynatrace.com/support/help/shortlink/process-groups#declare" target="_self"&gt;Declarative process grouping&lt;/A&gt;&amp;nbsp;(not deep monitored). For other processes, you might now have the information collected and they just go into a placeholder (other processes).&lt;BR /&gt;&lt;BR /&gt;I hope this helps you to achieve your goals - Even though Dynatrace is not designed to monitor workstations, I believe you can get most of the answers you need.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 19:48:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202505#M2703</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-01-17T19:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Windows 10 VDI Process &amp; 18,000 concurrent sessions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202608#M2706</link>
      <description>&lt;P&gt;Julius-&lt;/P&gt;&lt;P&gt;I appreciate the response and this is what I needed to get started.&amp;nbsp; The initial snippet of code is working and returned top 100.&amp;nbsp; The subsequent questions relate to the first one and I appreciate the information provided.&amp;nbsp; I'll close this thread.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the time,&lt;/P&gt;&lt;P&gt;-Murphy&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 14:20:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Windows-10-VDI-Process-amp-18-000-concurrent-sessions/m-p/202608#M2706</guid>
      <dc:creator>StoleSursum</dc:creator>
      <dc:date>2023-01-17T14:20:07Z</dc:date>
    </item>
  </channel>
</rss>

