<?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: Scripted Input - Windows Indexer - Linux Host in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15997#M1865</link>
    <description>&lt;P&gt;Additional suggestion based Dan's 1st suggestion.   Rather than using &lt;CODE&gt;df -h&lt;/CODE&gt;, you could use the &lt;CODE&gt;df.sh&lt;/CODE&gt; script that's bundled in the &lt;CODE&gt;unix&lt;/CODE&gt; app's &lt;CODE&gt;bin&lt;/CODE&gt; folder (if you allowed to place that on the linux machine).  I think you could use the &lt;CODE&gt;plink&lt;/CODE&gt; tool in that comes with Putty (ssh client for windows).  You could also use the Putty Agent to store ssh keys for the whole auth thing.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2010 23:06:30 GMT</pubDate>
    <dc:creator>Lowell</dc:creator>
    <dc:date>2010-06-23T23:06:30Z</dc:date>
    <item>
      <title>Scripted Input - Windows Indexer - Linux Host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15995#M1863</link>
      <description>&lt;P&gt;Looking for the best way to collect Disk Free Space from a Linux box to a Windows Indexer.  Company policy wont let me put a light weight forwarder on the host.  &lt;/P&gt;

&lt;P&gt;Would like to collect the output from a "df -h" and run this every x period of time and have the input collected into Splunk.  &lt;/P&gt;

&lt;P&gt;I know I need to run some Scripted Input from the host, but how will this work from a Windows Indexer?  &lt;/P&gt;

&lt;P&gt;Indexer - Windows 2003 Server
Linux - Red Hat&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 20:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15995#M1863</guid>
      <dc:creator>runwithscizzors</dc:creator>
      <dc:date>2010-06-23T20:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Input - Windows Indexer - Linux Host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15996#M1864</link>
      <description>&lt;P&gt;Just curious what issue the company has with the light weight forwarder? Are there any changes Splunk can make to the LWF to make it compliant? &lt;/P&gt;

&lt;P&gt;Anyway, here are a few ideas:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;.bat scripted input that uses ssh to login to Linux and execute the df -h command. You'd have to install a CLI friendly ssh client on the Windows box. I'd also recommend distributing keys rather than hard-coding credentials in the script.&lt;/LI&gt;
&lt;LI&gt;same kind of scripted input as above, but using snmp polling. Much more light-weight. Look at something like Cacti.&lt;/LI&gt;
&lt;LI&gt;you can samba mount the disk and use Windows' native methods such as perf counters. Probably the fastest but least production-ready solution.&lt;/LI&gt;
&lt;LI&gt;Would company policy allow you to put your own cron script on the Linux box that runs df -h | netcat?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Jun 2010 21:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15996#M1864</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2010-06-23T21:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Input - Windows Indexer - Linux Host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15997#M1865</link>
      <description>&lt;P&gt;Additional suggestion based Dan's 1st suggestion.   Rather than using &lt;CODE&gt;df -h&lt;/CODE&gt;, you could use the &lt;CODE&gt;df.sh&lt;/CODE&gt; script that's bundled in the &lt;CODE&gt;unix&lt;/CODE&gt; app's &lt;CODE&gt;bin&lt;/CODE&gt; folder (if you allowed to place that on the linux machine).  I think you could use the &lt;CODE&gt;plink&lt;/CODE&gt; tool in that comes with Putty (ssh client for windows).  You could also use the Putty Agent to store ssh keys for the whole auth thing.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 23:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-Windows-Indexer-Linux-Host/m-p/15997#M1865</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-23T23:06:30Z</dc:date>
    </item>
  </channel>
</rss>

