<?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: Perfmon data missing from two servers. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628460#M107860</link>
    <description>&lt;P&gt;To be honest, part of my mistake might have been the "top 10 sources" when I have 12 hosts. Once I got the other two working, I kept only seeing 10. All set now. I just need to massage the data to appear how I like it. Ideally a clean date (YYYY-DD-MM), no time needed and % instead of the numbers after the decimal. Any SPL gurus that can help? Here's what I have, the table it produces is attached:&lt;/P&gt;&lt;P&gt;(index=main) sourcetype=perfmon:LogicalDisk instance!=_Total instance!=Harddisk* | eval FreePct-Other=case( match (instance, "C:"), null(), match(instance,"D:"), null(),true(),storage_free_percent), FreeMB-Other=case( match (instance, "C:"), null(), match(instance,"D:"), null(), true(),Free_Megabytes), FreePct-{instance}=storage_free_percent,FreeMB-{instance}=Free_Megabytes| search counter="% Free Space" | fields "_time", "host", "instance", "Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 13:23:06 GMT</pubDate>
    <dc:creator>thebankitgui</dc:creator>
    <dc:date>2023-01-26T13:23:06Z</dc:date>
    <item>
      <title>Why is Perfmon data missing from two servers / Free disk space table?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628287#M107839</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;
&lt;P&gt;I have been working on a task to gather the free disk space of servers we have Splunk Universal Forwarder on. I am down to getting data from all servers through the perfmon data. I have it for all servers but two. One of these is the Splunk deployment server (we're on Splunk Cloud). I have checked all the apps which might have inputs.conf with stanzas referring to "source="Perfmon:Free Disk Space" and I've looked in /etc/system/local on the Deployment Server. All the stanzas are at 0 and I've restarted Splunk after each change, I'm at a loss! Thank you in advance.&lt;/P&gt;
&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 19:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628287#M107839</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-26T19:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628293#M107840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246689"&gt;@thebankitgui&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;perfmon is a windows counter, Splunk Cloud systems are Linux systems, so you cannot use the Splunk-TA-Windows to have this information.&lt;/P&gt;&lt;P&gt;You have to use the Splunk Add-On for Linux (&lt;A href="https://splunkbase.splunk.com/app/833" target="_blank"&gt;https://splunkbase.splunk.com/app/833&lt;/A&gt;) enabling the free disk space counter.&lt;/P&gt;&lt;P&gt;But Anyway, free disk space on Splunk Cloud servers isn't your problem.&lt;/P&gt;&lt;P&gt;One additional information: using a Windows Deployment Server you'll encounter some issues related to the grants on scripts to execute on Linux servers, one of this is just the Free disk space script; for this reason isn't a best practice to use a Windows Deployment Server having target Linux servers.&lt;/P&gt;&lt;P&gt;Only for conclusion: I never saw a Splunk production system based on Windows, at best a test enviroment.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628293#M107840</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-25T15:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628299#M107841</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response. There seems to be a misunderstanding. I have the free disk space for 9 of 11 servers that are all Windows Server 2019. The issue is that the data from 2 of 11 of the servers is not showing up, despite checking all the inputs.conf I can find. I was just thinking there had to be a file or setting I was missing or a Splunk behavior that would result in this behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628299#M107841</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-25T15:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628303#M107842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246689"&gt;@thebankitgui&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;which Add-On are you using?&lt;/P&gt;&lt;P&gt;check if the user running Splunk on these two servers has the grants to execute the scripts and if there are differences with the other servers.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 16:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628303#M107842</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-25T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628315#M107843</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Splunk_TA_windows and in the etc\deployment-apps\Splunk_TA_windows\local\inputs.conf I have the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Logical Disk&lt;BR /&gt;[perfmon://LogicalDisk]&lt;BR /&gt;counters = % Free Space; Free Megabytes; Current Disk Queue Length; % Disk Time; Avg. Disk Queue Length; % Disk Read Time; Avg. Disk Read Queue Length; % Disk Write Time; Avg. Disk Write Queue Length; Avg. Disk sec/Transfer; Avg. Disk sec/Read; Avg. Disk sec/Write; Disk Transfers/sec; Disk Reads/sec; Disk Writes/sec; Disk Bytes/sec; Disk Read Bytes/sec; Disk Write Bytes/sec; Avg. Disk Bytes/Transfer; Avg. Disk Bytes/Read; Avg. Disk Bytes/Write; % Idle Time; Split IO/Sec&lt;BR /&gt;disabled = 0&lt;BR /&gt;instances = *&lt;BR /&gt;interval = 10&lt;BR /&gt;mode = single&lt;BR /&gt;object = LogicalDisk&lt;BR /&gt;useEnglishOnly=true&lt;BR /&gt;index=main&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:21:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628315#M107843</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-25T17:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Perfmon data missing from two servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628335#M107845</link>
      <description>&lt;P&gt;I can't delete this thread but through trial and error I have gotten all servers to report free disk space, now to make it look pretty. Thank you for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 20:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628335#M107845</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-25T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628450#M107857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246689"&gt;@thebankitgui&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you checked if the grants of the user sunning Splunk on these two servers are the same of the others?&lt;/P&gt;&lt;P&gt;I suppose that you're receiving other windows logs from these two servers.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 11:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628450#M107857</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-26T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628460#M107860</link>
      <description>&lt;P&gt;To be honest, part of my mistake might have been the "top 10 sources" when I have 12 hosts. Once I got the other two working, I kept only seeing 10. All set now. I just need to massage the data to appear how I like it. Ideally a clean date (YYYY-DD-MM), no time needed and % instead of the numbers after the decimal. Any SPL gurus that can help? Here's what I have, the table it produces is attached:&lt;/P&gt;&lt;P&gt;(index=main) sourcetype=perfmon:LogicalDisk instance!=_Total instance!=Harddisk* | eval FreePct-Other=case( match (instance, "C:"), null(), match(instance,"D:"), null(),true(),storage_free_percent), FreeMB-Other=case( match (instance, "C:"), null(), match(instance,"D:"), null(), true(),Free_Megabytes), FreePct-{instance}=storage_free_percent,FreeMB-{instance}=Free_Megabytes| search counter="% Free Space" | fields "_time", "host", "instance", "Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628460#M107860</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-26T13:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628462#M107861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246689"&gt;@thebankitgui&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if one answer solves your need, please accept one answer for the other people of Community or tell me how I can help you.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628462#M107861</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-26T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon data missing from two servers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628468#M107863</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I appreciate your replies, I really do. Unfortunately I figured out the inputs.conf through trial and error, looking at indexes to see when the wrong one was set and adding a stanza in one case. Now that I've got that solved on my own, I put in some SPL that I could use help with optimizing but I can do another thread for that. It's all part of the same issue because the perfmon data is for free disk space.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Perfmon-data-missing-from-two-servers-Free-disk-space/m-p/628468#M107863</guid>
      <dc:creator>thebankitgui</dc:creator>
      <dc:date>2023-01-26T13:42:23Z</dc:date>
    </item>
  </channel>
</rss>

