<?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: Why is my script running on Windows universal forwarders not pulling &amp;quot;Original Install Date&amp;quot;, only IP and Host Name? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119426#M24832</link>
    <description>&lt;P&gt;No it's just not being indexed.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2015 18:53:20 GMT</pubDate>
    <dc:creator>akelly4</dc:creator>
    <dc:date>2015-03-31T18:53:20Z</dc:date>
    <item>
      <title>Why is my script running on Windows universal forwarders not pulling "Original Install Date", only IP and Host Name?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119424#M24830</link>
      <description>&lt;P&gt;I created a script that will run on all of my universal Forwarders that are running Windows. It's a simple script that is going to pull IP, Host Name, and Original Install Date. Below is what the script looks like.&lt;/P&gt;

&lt;P&gt;Script:&lt;BR /&gt;
CD C:\&lt;BR /&gt;
ECHO ON&lt;BR /&gt;
ipconfig | findstr /i "IPv4 Address"&lt;BR /&gt;
systeminfo | findstr /i /c:"Host Name" /c:"Original"&lt;/P&gt;

&lt;P&gt;So the script runs successfully on the UF and the results are indexed, however something weird is happening. No matter how I form the script it never returns the install date of the machine. I've manually ran the batch file on the machine with the UF and everytime it's returning the Original install date. I can't figure out why no matter how I script it the install date isn't pulled back?&lt;/P&gt;

&lt;P&gt;C:\Windows\system32&amp;gt;CD C:\ &lt;BR /&gt;
C:&amp;gt;ECHO ON &lt;BR /&gt;
C:&amp;gt;ipconfig   | findstr /i "IPv4 Address" &lt;BR /&gt;
   IPv4 Address. . . . . . . . . . . : 10.2.3.4&lt;BR /&gt;
C:&amp;gt;systeminfo   | findstr /i /c:"Host Name" /c:"Original" &lt;BR /&gt;
Host Name:                 TestMachine&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;When I run the script manually I always see this additional piece of information&lt;/P&gt;

&lt;P&gt;Original Install Date:    04/26/2015, 7:51:13 AM&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119424#M24830</guid>
      <dc:creator>akelly4</dc:creator>
      <dc:date>2015-03-31T18:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my script running on Windows universal forwarders not pulling "Original Install Date", only IP and Host Name?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119425#M24831</link>
      <description>&lt;P&gt;Is Splunk locating that timestamp and using it as the event time?&lt;/P&gt;

&lt;P&gt;You can check the raw data that Splunk is ingesting with &lt;/P&gt;

&lt;P&gt;index= sourcetype= | table _raw&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119425#M24831</guid>
      <dc:creator>jimodonald</dc:creator>
      <dc:date>2015-03-31T18:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my script running on Windows universal forwarders not pulling "Original Install Date", only IP and Host Name?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119426#M24832</link>
      <description>&lt;P&gt;No it's just not being indexed.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119426#M24832</guid>
      <dc:creator>akelly4</dc:creator>
      <dc:date>2015-03-31T18:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my script running on Windows universal forwarders not pulling "Original Install Date", only IP and Host Name?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119427#M24833</link>
      <description>&lt;P&gt;Using the example above, you do not see the event on April 26, 2015 (a future time from today) -- but whatever the relevant timestamp is from your environment?&lt;/P&gt;

&lt;P&gt;How do you know it's not being indexed?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 20:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-script-running-on-Windows-universal-forwarders-not/m-p/119427#M24833</guid>
      <dc:creator>jimodonald</dc:creator>
      <dc:date>2015-03-31T20:09:35Z</dc:date>
    </item>
  </channel>
</rss>

