<?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 file monitoring extension in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Windows-file-monitoring-extension/m-p/730844#M7302</link>
    <description>&lt;P&gt;Hi Pauls,&lt;/P&gt;

&lt;P&gt;The link below is your friend.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;First, you need to update the script to echo/output the values in the metric format.&lt;/P&gt;
&lt;P&gt;Like include the details of the tree where you would like the metric to be reported.&lt;/P&gt;

&lt;P&gt;E.g.:&lt;/P&gt;
&lt;TABLE class="confluenceTable tablesorter tablesorter-default"&gt;
&lt;TBODY&gt;
&lt;TR class="xtr-1"&gt;
&lt;TD class="xtd-1-0 confluenceTd"&gt;
&lt;P&gt;Standard Form&lt;/P&gt;
&lt;/TD&gt;
&lt;TD class="xtd-1-1 confluenceTd"&gt;
&lt;P&gt;Hardware Resources| Instrument Name=Instrument Value&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="xtr-2"&gt;
&lt;TD class="xtd-2-0 confluenceTd"&gt;
&lt;P&gt;Fully Qualified Form&lt;/P&gt;
&lt;/TD&gt;
&lt;TD class="xtd-2-1 confluenceTd"&gt;
&lt;P&gt;Hardware Resources| &amp;lt;metric name&amp;gt;,value=&amp;lt;long value&amp;gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;Once that is done, you can the include the script details in monitor.xml as per the instructions on this page.&lt;/P&gt;
&lt;P&gt;Refer Step 4:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts#BuildaMonitoringExtensionUsingScripts-AddaMonitoringExtensionScript" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts#BuildaMonitoringExtensionUsingScripts-AddaMonitoringExtensionScript&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please post here if you have any further questions.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 16:08:59 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-02-20T16:08:59Z</dc:date>
    <item>
      <title>Windows file monitoring extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Windows-file-monitoring-extension/m-p/730843#M7301</link>
      <description>&lt;P&gt;Looking to use a script file to retrieve file size, and creation date (or Last modified)&lt;/P&gt;

&lt;P&gt;Client has a requirement whereby a batch file is received that is sometimes empty, we need to check when file was received and baseline the file sizes.&lt;/P&gt;

&lt;P&gt;Batch file I've got so long:&lt;/P&gt;
&lt;P&gt;FOR %%? IN (speed.txt) DO (&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ECHO File Name Only&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : %%~n?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ECHO File Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : %%~z?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ECHO Last-Modified Date&amp;nbsp;&amp;nbsp; : %%~t?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;)&lt;/P&gt;

&lt;P&gt;How would I add this to monitor.xml and ensure the metrics pull through?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 09:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Windows-file-monitoring-extension/m-p/730843#M7301</guid>
      <dc:creator>Paul_Szoke</dc:creator>
      <dc:date>2018-02-15T09:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Windows file monitoring extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Windows-file-monitoring-extension/m-p/730844#M7302</link>
      <description>&lt;P&gt;Hi Pauls,&lt;/P&gt;

&lt;P&gt;The link below is your friend.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;First, you need to update the script to echo/output the values in the metric format.&lt;/P&gt;
&lt;P&gt;Like include the details of the tree where you would like the metric to be reported.&lt;/P&gt;

&lt;P&gt;E.g.:&lt;/P&gt;
&lt;TABLE class="confluenceTable tablesorter tablesorter-default"&gt;
&lt;TBODY&gt;
&lt;TR class="xtr-1"&gt;
&lt;TD class="xtd-1-0 confluenceTd"&gt;
&lt;P&gt;Standard Form&lt;/P&gt;
&lt;/TD&gt;
&lt;TD class="xtd-1-1 confluenceTd"&gt;
&lt;P&gt;Hardware Resources| Instrument Name=Instrument Value&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="xtr-2"&gt;
&lt;TD class="xtd-2-0 confluenceTd"&gt;
&lt;P&gt;Fully Qualified Form&lt;/P&gt;
&lt;/TD&gt;
&lt;TD class="xtd-2-1 confluenceTd"&gt;
&lt;P&gt;Hardware Resources| &amp;lt;metric name&amp;gt;,value=&amp;lt;long value&amp;gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;Once that is done, you can the include the script details in monitor.xml as per the instructions on this page.&lt;/P&gt;
&lt;P&gt;Refer Step 4:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts#BuildaMonitoringExtensionUsingScripts-AddaMonitoringExtensionScript" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts#BuildaMonitoringExtensionUsingScripts-AddaMonitoringExtensionScript&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please post here if you have any further questions.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 16:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Windows-file-monitoring-extension/m-p/730844#M7302</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-20T16:08:59Z</dc:date>
    </item>
  </channel>
</rss>

