<?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 How to create a script, using Powershell, to run and pull logs from splunk and export them to a file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-script-using-Powershell-to-run-and-pull-logs/m-p/325252#M60498</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I was wondering if an event was to occur for a piece of hardware such as changing, going down etc. is it possible to use Powershell create a script to run and pull logs from Splunk and export them to a file.  &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 09:34:44 GMT</pubDate>
    <dc:creator>mdeer</dc:creator>
    <dc:date>2018-04-10T09:34:44Z</dc:date>
    <item>
      <title>How to create a script, using Powershell, to run and pull logs from splunk and export them to a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-script-using-Powershell-to-run-and-pull-logs/m-p/325252#M60498</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I was wondering if an event was to occur for a piece of hardware such as changing, going down etc. is it possible to use Powershell create a script to run and pull logs from Splunk and export them to a file.  &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 09:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-script-using-Powershell-to-run-and-pull-logs/m-p/325252#M60498</guid>
      <dc:creator>mdeer</dc:creator>
      <dc:date>2018-04-10T09:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a script, using Powershell, to run and pull logs from splunk and export them to a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-script-using-Powershell-to-run-and-pull-logs/m-p/325253#M60499</link>
      <description>&lt;P&gt;not exactly sure what you would like to achieve here.&lt;BR /&gt;
can you elaborate?&lt;BR /&gt;
how would you know a piece of hardware is down?&lt;BR /&gt;
does that piece reports to splunk and you want the data from some point in time until the moment it was down?&lt;BR /&gt;
you can leverage splunk internal capabilities and write an alert / saved search to trigger on the needed condition. from there you can export results to file, send email, execute scripts and more...&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-script-using-Powershell-to-run-and-pull-logs/m-p/325253#M60499</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-10T13:20:23Z</dc:date>
    </item>
  </channel>
</rss>

