<?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 Is it possible to have a separate log file for errors occurring only within a specific Splunk App? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307635#M57939</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am posting this question because I was not able to find the answer so far. I know that Splunk logs a lot about itself and that there are various log files in $SPLUNK_HOME/var/log/splunk. However, I would like to know whether it is possible to keep a separate log file that would contain only errors (and other messages) related to using a specific Splunk App, e.g. Search &amp;amp; Reporting or any custom developed App. Or in other words: when I develop a Splunk App, is it possible to specify something like an App error log?&lt;/P&gt;

&lt;P&gt;If it is not possible at all, then the only option to search for errors would be to write specific searches for index=_internal and filter out the relevant information, is that right?&lt;/P&gt;

&lt;P&gt;Thanks a lot. &lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2018 15:03:39 GMT</pubDate>
    <dc:creator>mariasudolska</dc:creator>
    <dc:date>2018-01-16T15:03:39Z</dc:date>
    <item>
      <title>Is it possible to have a separate log file for errors occurring only within a specific Splunk App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307635#M57939</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am posting this question because I was not able to find the answer so far. I know that Splunk logs a lot about itself and that there are various log files in $SPLUNK_HOME/var/log/splunk. However, I would like to know whether it is possible to keep a separate log file that would contain only errors (and other messages) related to using a specific Splunk App, e.g. Search &amp;amp; Reporting or any custom developed App. Or in other words: when I develop a Splunk App, is it possible to specify something like an App error log?&lt;/P&gt;

&lt;P&gt;If it is not possible at all, then the only option to search for errors would be to write specific searches for index=_internal and filter out the relevant information, is that right?&lt;/P&gt;

&lt;P&gt;Thanks a lot. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 15:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307635#M57939</guid>
      <dc:creator>mariasudolska</dc:creator>
      <dc:date>2018-01-16T15:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a separate log file for errors occurring only within a specific Splunk App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307636#M57940</link>
      <description>&lt;P&gt;Many Splunk apps write log lines into their own files for scripted/modular inputs, custom commands a lookups.&lt;BR /&gt;
If your building your inputs in Python you can use the SDK to do the same&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/logging/SP-CAAAFCN"&gt;http://dev.splunk.com/view/logging/SP-CAAAFCN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 15:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307636#M57940</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-16T15:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a separate log file for errors occurring only within a specific Splunk App?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307637#M57941</link>
      <description>&lt;P&gt;Many thanks for the answer.  &lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 14:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-separate-log-file-for-errors-occurring/m-p/307637#M57941</guid>
      <dc:creator>mariasudolska</dc:creator>
      <dc:date>2018-01-24T14:17:36Z</dc:date>
    </item>
  </channel>
</rss>

