<?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 Powershell App Script Handling Error in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-App-Script-Handling-Error/m-p/426749#M74783</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Has anyone created a splunk app that has an input generated by a powershell script?&lt;/P&gt;

&lt;P&gt;I have a script that runs that I am trying to improve the error handling.&lt;/P&gt;

&lt;P&gt;My questions is how are you handling capturing errors, do you error to the splunkd.log or write out to a new log file in var/log/splunk?&lt;/P&gt;

&lt;P&gt;I would appreciate any thoughts or examples of capturing errors and writing them out to splunk logs.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2019 18:13:39 GMT</pubDate>
    <dc:creator>dmcintosh1972</dc:creator>
    <dc:date>2019-06-16T18:13:39Z</dc:date>
    <item>
      <title>Powershell App Script Handling Error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-App-Script-Handling-Error/m-p/426749#M74783</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Has anyone created a splunk app that has an input generated by a powershell script?&lt;/P&gt;

&lt;P&gt;I have a script that runs that I am trying to improve the error handling.&lt;/P&gt;

&lt;P&gt;My questions is how are you handling capturing errors, do you error to the splunkd.log or write out to a new log file in var/log/splunk?&lt;/P&gt;

&lt;P&gt;I would appreciate any thoughts or examples of capturing errors and writing them out to splunk logs.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 18:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-App-Script-Handling-Error/m-p/426749#M74783</guid>
      <dc:creator>dmcintosh1972</dc:creator>
      <dc:date>2019-06-16T18:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell App Script Handling Error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-App-Script-Handling-Error/m-p/426750#M74784</link>
      <description>&lt;P&gt;I typically write my own log and ingest it.&lt;/P&gt;

&lt;P&gt;In python I log to splunkd.log and you may be able to do that with powershell, but I don't know how to.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 22:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-App-Script-Handling-Error/m-p/426750#M74784</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-06-16T22:00:32Z</dc:date>
    </item>
  </channel>
</rss>

