<?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: Logs are not forwarding from the particular directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617257#M106576</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247848"&gt;@yuvasree&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand:&amp;nbsp;&lt;SPAN&gt;/u01/app/oracle/Scripts/SplunkDashboard/Check is the path or the file name?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the path try to add * at the end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Oct 2022 15:05:22 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-10-15T15:05:22Z</dc:date>
    <item>
      <title>Logs are not forwarding from the particular directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/616453#M106508</link>
      <description>&lt;P&gt;I have forwarding the logs from the below directory. Below is the inputs.conf file&lt;/P&gt;
&lt;P&gt;[monitor:///u01/app/oracle/scripts/SplunkMonitoring/Log]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = osb&lt;BR /&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/P&gt;
&lt;P&gt;[monitor:///u01/app/oracle/scripts/Logging/output]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = osb&lt;/P&gt;
&lt;P&gt;=============&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output&amp;nbsp; from the&amp;nbsp;/u01/app/oracle/scripts/Logging/output is forwarding successfully but no logs were received for&amp;nbsp;/u01/app/oracle/scripts/SplunkMonitoring/Log. Below is the splunkd.log file.&lt;/P&gt;
&lt;P&gt;10-09-2022 21:31:41.925 +0800 INFO WatchedFile [214996 tailreader0] - Will begin reading at offset=0 for file='/u01/app/oracle/scripts/SplunkMonitoring/Log/ServerStatus.txt'.&lt;BR /&gt;10-09-2022 21:32:01.208 +0800 INFO AutoLoadBalancedConnectionStrategy [214989 TcpOutEloop] - Connected to idx=10.9.0.49:9997:0, pset=0, reuse=0. autoBatch=1&lt;BR /&gt;10-09-2022 21:32:05.125 +0800 INFO TailReader [214996 tailreader0] - Batch input finished reading file='/opt/splunkforwarder/var/spool/splunk/tracker.log'&lt;BR /&gt;10-09-2022 21:32:31.053 +0800 INFO AutoLoadBalancedConnectionStrategy [214989 TcpOutEloop] - Connected to idx=10.9.0.49:9997:2, pset=0, reuse=0. autoBatch=1&lt;BR /&gt;10-09-2022 21:32:35.054 +0800 INFO TailReader [214996 tailreader0] - Batch input finished reading file='/opt/splunkforwarder/var/spool/splunk/tracker.log'&lt;BR /&gt;10-09-2022 21:33:00.976 +0800 INFO AutoLoadBalancedConnectionStrategy [214989 TcpOutEloop] - Connected to idx=10.9.0.49:9997:1, pset=0, reuse=0. autoBatch=1&lt;BR /&gt;10-09-2022 21:33:07.976 +0800 INFO TailReader [214996 tailreader0] - Batch input finished reading file='/opt/splunkforwarder/var/spool/splunk/tracker.log'&lt;BR /&gt;10-09-2022 21:33:21.924 +0800 INFO WatchedFile [214996 tailreader0] - Will begin reading at offset=0 for file='/u01/app/oracle/scripts/SplunkMonitoring/Log/jms_status.txt'.&lt;BR /&gt;10-09-2022 21:33:21.931 +0800 INFO WatchedFile [214996 tailreader0] - Will begin reading at offset=0 for file='/u01/app/oracle/scripts/SplunkMonitoring/Log/DataSourceStatus.txt'.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 07:14:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/616453#M106508</guid>
      <dc:creator>yuvasree</dc:creator>
      <dc:date>2022-10-10T07:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/616456#M106509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247848"&gt;@yuvasree&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you defined the TIME_FORMAT in the props.conf?&lt;/P&gt;&lt;P&gt;see if your logs are present with the timestamp of the 10th of september&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 14:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/616456#M106509</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-09T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617253#M106575</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how the issue resolved. but somehow it is forwarding from that server.&lt;/P&gt;&lt;P&gt;But again in one more server the file contents are not changed, hence splunk is ignoring the files under the folder. I need to forward it whenever the script output updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[brm_deployment_dev]&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE =&lt;BR /&gt;DATETIME_CONFIG = CURRENT&lt;BR /&gt;INDEXED_EXTRACTIONS = csv&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;category = Structured&lt;BR /&gt;description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[monitor:///u01/app/oracle/Scripts/SplunkDashboard/Check]&lt;BR /&gt;disabled = false&lt;BR /&gt;index=general&lt;BR /&gt;sourcetype=brm_deployment_dev&lt;BR /&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;BR /&gt;initCrcLength=2048&lt;BR /&gt;CHECK_METHOD = modtime&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 12:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617253#M106575</guid>
      <dc:creator>yuvasree</dc:creator>
      <dc:date>2022-10-15T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617257#M106576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247848"&gt;@yuvasree&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand:&amp;nbsp;&lt;SPAN&gt;/u01/app/oracle/Scripts/SplunkDashboard/Check is the path or the file name?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the path try to add * at the end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 15:05:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617257#M106576</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-15T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617260#M106577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a path. inside that path it is having the 48 files (SQL output but with 1 or 2 lines each file).&lt;/P&gt;&lt;P&gt;I tried with /* but it thrown error like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invalid key in stanza [monitor:///u01/app/oracle/Scripts/SplunkDashboard/Check/*] in /opt/splunkforwarder/etc/apps/search/local/inputs.conf, line 15: CHECK_METHOD (value: modtime).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i updated the check method in props.conf but no luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[brm_deployment_dev]&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE =&lt;BR /&gt;DATETIME_CONFIG = CURRENT&lt;BR /&gt;INDEXED_EXTRACTIONS = csv&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;category = Structured&lt;BR /&gt;description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER=1&lt;BR /&gt;CHECK_METHOD = modtime&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 16:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617260#M106577</guid>
      <dc:creator>yuvasree</dc:creator>
      <dc:date>2022-10-15T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617261#M106578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247848"&gt;@yuvasree&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as you can read at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Propsconf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this option is only valid for stanzas with [source::&amp;lt;source&amp;gt;] while you're using sourcetype.&lt;/P&gt;&lt;P&gt;without this option is the file read?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 17:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617261#M106578</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-15T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617271#M106579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies I missed that part somehow. After setting the source path it is able to send the file successfully based on the modtime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See you later for another issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 05:33:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617271#M106579</guid>
      <dc:creator>yuvasree</dc:creator>
      <dc:date>2022-10-16T05:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not forwarding from the particular directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617272#M106580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247848"&gt;@yuvasree&lt;/a&gt;&lt;/P&gt;&lt;P&gt;good for you, see next time (it will be a pleasure)!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 05:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-are-not-forwarding-from-the-particular-directory/m-p/617272#M106580</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-16T05:43:38Z</dc:date>
    </item>
  </channel>
</rss>

