<?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: How are Windows instance numbers for two processes with the same name determined? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444066#M77317</link>
    <description>&lt;P&gt;done, Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 12 Jun 2018 01:59:49 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2018-06-12T01:59:49Z</dc:date>
    <item>
      <title>How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444063#M77314</link>
      <description>&lt;P&gt;I have several &lt;CODE&gt;svchost.exe&lt;/CODE&gt; processes running on a Windows host. In Splunk in the &lt;CODE&gt;Perfmon:Process&lt;/CODE&gt; sourcetype I have events of the following form (apologies for the United States of America date format, it is confusing as it is not in a logical ordering of units like ISO8601, but unfortunately this is the way events are stored in Splunk, the dates below are the 12 May, not 5 December as anyone might logically interpret them, I understand Splunk is used by people worldwide and to use a confusing date format is not helpful):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05/12/2018 15:20:41.325 +0000
collection=Process
object=Process
counter="Working Set - Private"
instance=svchost
Value=2404352

05/12/2018 15:20:41.325 +0000
collection=Process
object=Process
counter="Working Set - Private"
instance=svchost#1
Value=774144

05/12/2018 15:20:41.325 +0000
collection=Process
object=Process
counter="Working Set - Private"
instance=svchost#3
Value=10354688
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now &lt;CODE&gt;svchost#3&lt;/CODE&gt; is using too much memory. Elsewhere I have logs that record the PID of all the running processes but not the instance number. So what does the &lt;CODE&gt;#3&lt;/CODE&gt; refer to, how is it determined?&lt;/P&gt;

&lt;P&gt;I've tried to guess, perhaps that number #3 is allocated in order of (as found in &lt;CODE&gt;sourcetype=WinHostMon&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;ProcessId&lt;/CODE&gt;, or&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;StartTime&lt;/CODE&gt; (of the process), or&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;CommandLine&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;... or is it randomly assigned? Is there any way of mapping an instance number to a particular running process on a host?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:32:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444063#M77314</guid>
      <dc:creator>petenetwork</dc:creator>
      <dc:date>2018-06-12T01:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444064#M77315</link>
      <description>&lt;P&gt;Hi petenetwork,&lt;/P&gt;

&lt;P&gt;Not a real answer that's why it is a comment &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; The date can be fixed by using /en-GB/ in the URI of Splunk. &lt;/P&gt;

&lt;P&gt;Regarding the &lt;CODE&gt;#NumberHere&lt;/CODE&gt; issue, why do you think this is Splunk? Actually this in Windows logging this way, and to make it even worth, as you can read here &lt;A href="https://blogs.technet.microsoft.com/askperf/2010/03/29/perfmon-identifying-processes-by-pid-instead-of-instance/"&gt;https://blogs.technet.microsoft.com/askperf/2010/03/29/perfmon-identifying-processes-by-pid-instead-of-instance/&lt;/A&gt; , those numbers are not static. They can change dynamically, or at least back in the days it was like that ... if this is still the case, who knows &lt;CODE&gt;¯\_(ツ)_/¯&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444064#M77315</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-06-12T01:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444065#M77316</link>
      <description>&lt;P&gt;Thank you MuS, I believe that answers my question. I'd be happy to credit you with the answer if you wish to repost your comment as an answer.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444065#M77316</guid>
      <dc:creator>petenetwork</dc:creator>
      <dc:date>2018-06-12T01:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444066#M77317</link>
      <description>&lt;P&gt;done, Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444066#M77317</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-06-12T01:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444067#M77318</link>
      <description>&lt;P&gt;I've discovered that the &lt;CODE&gt;sourcetype=Perfmon:Process counter="ID Process"&lt;/CODE&gt; counter maps instance to ProcessID (&lt;CODE&gt;Value&lt;/CODE&gt;), the command line of which can be looked up using &lt;CODE&gt;sourcetype=WinHostMon&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 23:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444067#M77318</guid>
      <dc:creator>petenetwork</dc:creator>
      <dc:date>2018-06-12T23:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How are Windows instance numbers for two processes with the same name determined?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444068#M77319</link>
      <description>&lt;P&gt;Have to agree that ISO date format (2018-05-12) is better because it cannot be misinterpreted.  The word "logically" doesn't really come into it... MM/DD/YYYY and DD/MM/YYYY are mere competing cultural/historical  standards that are both silly as well as ambiguous.  medium-small-large or small-medium-large both make no sense in terms of modern usage.  &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 20:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Windows-instance-numbers-for-two-processes-with-the-same/m-p/444068#M77319</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-06-13T20:22:46Z</dc:date>
    </item>
  </channel>
</rss>

