<?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: Modular input log file and its ingestion for Appinspect in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-log-file-and-its-ingestion-for-Appinspect/m-p/383476#M69060</link>
    <description>&lt;P&gt;As suggested by alacercogitatus on splunk-usergroups:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;you should write to &lt;CODE&gt;var/log/splunk/&amp;lt;appname&amp;gt;/modinput.log&lt;/CODE&gt;, and include a &lt;CODE&gt;Diag.py&lt;/CODE&gt; so that you can do &lt;CODE&gt;splunk diag --collect app:&amp;lt;appname&amp;gt;&lt;/CODE&gt; and only get your own files, and not the whole system&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 24 May 2019 12:49:51 GMT</pubDate>
    <dc:creator>mtroianovskyi</dc:creator>
    <dc:date>2019-05-24T12:49:51Z</dc:date>
    <item>
      <title>Modular input log file and its ingestion for Appinspect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-log-file-and-its-ingestion-for-Appinspect/m-p/383475#M69059</link>
      <description>&lt;P&gt;Our app's modular input is writing its logs into $SPLUNK_HOME/var/log/$APP_NAME/$LOG_NAME.log - this conforms to the Appinspect check Operating system standards - Check that applications only write to the following directories.&lt;/P&gt;

&lt;P&gt;However, when we try to add the default/inputs.conf with the monitor stanza to ingest the modular input logs into _internal index, we get the failure - Check [fifo] or [monitor] stanza is not used in inputs.conf unless the input stanza is used to ingest data from $SPLUNK_HOME/var/log/splunk.&lt;/P&gt;

&lt;P&gt;So one check suggests to use $SPLUNK_HOME/var/log/&lt;STRONG&gt;$APP_NAME&lt;/STRONG&gt; while the other check suggests $SPLUNK_HOME/var/log/&lt;STRONG&gt;splunk&lt;/STRONG&gt; instead. So it is not clear what directory has to be used for the custom app modular input logs.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:38:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modular-input-log-file-and-its-ingestion-for-Appinspect/m-p/383475#M69059</guid>
      <dc:creator>mtroianovskyi</dc:creator>
      <dc:date>2020-09-30T00:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modular input log file and its ingestion for Appinspect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modular-input-log-file-and-its-ingestion-for-Appinspect/m-p/383476#M69060</link>
      <description>&lt;P&gt;As suggested by alacercogitatus on splunk-usergroups:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;you should write to &lt;CODE&gt;var/log/splunk/&amp;lt;appname&amp;gt;/modinput.log&lt;/CODE&gt;, and include a &lt;CODE&gt;Diag.py&lt;/CODE&gt; so that you can do &lt;CODE&gt;splunk diag --collect app:&amp;lt;appname&amp;gt;&lt;/CODE&gt; and only get your own files, and not the whole system&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 24 May 2019 12:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modular-input-log-file-and-its-ingestion-for-Appinspect/m-p/383476#M69060</guid>
      <dc:creator>mtroianovskyi</dc:creator>
      <dc:date>2019-05-24T12:49:51Z</dc:date>
    </item>
  </channel>
</rss>

