<?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 Monitor file system on universal forwarder remote host does not forward data expected. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-file-system-on-universal-forwarder-remote-host-does-not/m-p/53307#M10285</link>
    <description>&lt;P&gt;We have successfully created and deployed an application.&lt;/P&gt;

&lt;P&gt;We are currently attempting to consume json data written to a file system on universal forwarder.&lt;/P&gt;

&lt;P&gt;1) we created - to &lt;BR /&gt;
/var/log/github_api/&lt;/P&gt;

&lt;P&gt;2) we placed some test json files in there. &lt;BR /&gt;
 (named .json, and .txt, as well as no file extention).&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/github_api/]&lt;BR /&gt;
index=github_api&lt;BR /&gt;
ignoreOlderThan=1d&lt;BR /&gt;
host_segment = 3&lt;BR /&gt;
sourcetype=json&lt;/P&gt;

&lt;P&gt;3) used deploy server to push out configs.&lt;/P&gt;

&lt;P&gt;Result:  Only getting some files but not all.&lt;/P&gt;

&lt;P&gt;===============Begin TSHOOT==============&lt;/P&gt;

&lt;P&gt;splunkd.log information.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
03-06-2013 15:04:39.782 -0500 INFO  DeployedApplication - Refreshed app: ise_git_phlow_inputs for service class: syslog from archive: /opt/splunkforwarder/var/run/syslog/ise_git_phlow_inputs-1362598641.bundle&lt;BR /&gt;
03-06-2013 15:04:40.083 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Seems to be liking the config.&lt;/P&gt;

&lt;P&gt;=========== Next &lt;/P&gt;

&lt;P&gt;Looks like we are getting no events into the newly created index.  &lt;/P&gt;

&lt;P&gt;```&lt;BR /&gt;
03-06-2013 15:04:39.782 -0500 INFO  DeployedApplication - Refreshed app: ise_git_phlow_inputs for service class: syslog from archive: /opt/splunkforwarder/var/run/syslog/ise_git_phlow_inputs-1362598641.bundle&lt;BR /&gt;
03-06-2013 15:04:40.083 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;/P&gt;

&lt;P&gt;```&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
github_api  &lt;BR /&gt;
500,000&lt;BR /&gt;
None    &lt;BR /&gt;
1&lt;BR /&gt;
0&lt;BR /&gt;
N/A&lt;BR /&gt;
N/A&lt;BR /&gt;
/data/hotwarm-indexes/github_api/db &lt;BR /&gt;
ise_all_indexer_base&lt;BR /&gt;
Enabled | Disable   Delete&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;====== NEXT UP  &lt;/P&gt;

&lt;P&gt;Another update.   looking into the indexer splunkd.logs for anything relevant&lt;/P&gt;

&lt;P&gt;03-06-2013 14:09:52.945 -0500 INFO  HotDBManager - idx=github_api Setting hot mgr params: maxHotSpanSecs=7776000 snapBucketTimespans=false maxHotBuckets=3 maxDataSizeBytes=786432000 quarantinePastSecs=77760000 quarantineFutureSecs=2592000 &lt;BR /&gt;
03-06-2013 14:09:52.945 -0500 INFO  databasePartitionPolicy - idx=github_api Initialized with params='[300,60,188697600,,,,786432000,5,true,500000,5,5,false,3,0,_blocksignature,7776000,1000000,0,3,77760000,2592000,131072,25,0,15,0,0,-1,18446744073709551615,2592000,true,60000,300000,false]' isSlave=false needApplyDeleteJournal=false&lt;BR /&gt;
03-06-2013 14:09:52.945 -0500 INFO  DatabaseDirectoryManager - Writing a bucket manifest in hotWarmPath='/data/hotwarm-indexes/github_api/db'.  Reason='Refreshing manifest.'&lt;BR /&gt;
03-06-2013 14:09:52.946 -0500 INFO  databasePartitionPolicy - openDatabases complete currentId=0 idx=github_api&lt;BR /&gt;
[root@ic-spk01 splunk]#&lt;/P&gt;

&lt;P&gt;====== Another update&lt;/P&gt;

&lt;P&gt;Main indexer - suspicious.....&lt;/P&gt;

&lt;P&gt;So this could have something to do with it:&lt;/P&gt;

&lt;P&gt;03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Fri Jan 25 10:50:12 2013) is suspiciously far away from the previous event's time (Mon Jan 28 16:31:36 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;/P&gt;

&lt;P&gt;======  FINAL ANSWER?  &lt;/P&gt;

&lt;P&gt;So as part of the troubleshooting effort we did the following:&lt;/P&gt;

&lt;P&gt;1) copied the existing sample JSON data file and made a replica  &lt;/P&gt;

&lt;P&gt;cp -r notifications test1.txt&lt;/P&gt;

&lt;P&gt;cp -r test1.txt test.json&lt;/P&gt;

&lt;P&gt;cp -r test1.txt test2.txt&lt;/P&gt;

&lt;P&gt;Upon indexing?&lt;/P&gt;

&lt;H2&gt;on Indexer (splunkd.log)&lt;/H2&gt;

&lt;P&gt;03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Sat Jan 26 09:33:46 2013) is suspiciously far away from the previous event's time (Thu Jan 31 10:11:27 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;BR /&gt;
03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Fri Jan 25 10:50:12 2013) is suspiciously far away from the previous event's time (Mon Jan 28 16:31:36 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;BR /&gt;
03-06-2013 15:35:40.817 -0500 INFO  databasePartitionPolicy - idx=github_api Creating hot bucket=hot_v1_1, given event timestamped=1354488490&lt;BR /&gt;
03-06-2013 15:35:40.817 -0500 INFO  DatabaseDirectoryManager - Writing a bucket manifest in hotWarmPath='/data/hotwarm-indexes/github_api/db'.  Reason='Bucket directory structure changed.'&lt;/P&gt;

&lt;H1&gt;on Universal forwarder (splunkd.log)&lt;/H1&gt;

&lt;P&gt;03-06-2013 15:25:29.740 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:27:25 GMT</pubDate>
    <dc:creator>tkropp</dc:creator>
    <dc:date>2020-09-28T13:27:25Z</dc:date>
    <item>
      <title>Monitor file system on universal forwarder remote host does not forward data expected.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-file-system-on-universal-forwarder-remote-host-does-not/m-p/53307#M10285</link>
      <description>&lt;P&gt;We have successfully created and deployed an application.&lt;/P&gt;

&lt;P&gt;We are currently attempting to consume json data written to a file system on universal forwarder.&lt;/P&gt;

&lt;P&gt;1) we created - to &lt;BR /&gt;
/var/log/github_api/&lt;/P&gt;

&lt;P&gt;2) we placed some test json files in there. &lt;BR /&gt;
 (named .json, and .txt, as well as no file extention).&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/github_api/]&lt;BR /&gt;
index=github_api&lt;BR /&gt;
ignoreOlderThan=1d&lt;BR /&gt;
host_segment = 3&lt;BR /&gt;
sourcetype=json&lt;/P&gt;

&lt;P&gt;3) used deploy server to push out configs.&lt;/P&gt;

&lt;P&gt;Result:  Only getting some files but not all.&lt;/P&gt;

&lt;P&gt;===============Begin TSHOOT==============&lt;/P&gt;

&lt;P&gt;splunkd.log information.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
03-06-2013 15:04:39.782 -0500 INFO  DeployedApplication - Refreshed app: ise_git_phlow_inputs for service class: syslog from archive: /opt/splunkforwarder/var/run/syslog/ise_git_phlow_inputs-1362598641.bundle&lt;BR /&gt;
03-06-2013 15:04:40.083 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Seems to be liking the config.&lt;/P&gt;

&lt;P&gt;=========== Next &lt;/P&gt;

&lt;P&gt;Looks like we are getting no events into the newly created index.  &lt;/P&gt;

&lt;P&gt;```&lt;BR /&gt;
03-06-2013 15:04:39.782 -0500 INFO  DeployedApplication - Refreshed app: ise_git_phlow_inputs for service class: syslog from archive: /opt/splunkforwarder/var/run/syslog/ise_git_phlow_inputs-1362598641.bundle&lt;BR /&gt;
03-06-2013 15:04:40.083 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;/P&gt;

&lt;P&gt;```&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
github_api  &lt;BR /&gt;
500,000&lt;BR /&gt;
None    &lt;BR /&gt;
1&lt;BR /&gt;
0&lt;BR /&gt;
N/A&lt;BR /&gt;
N/A&lt;BR /&gt;
/data/hotwarm-indexes/github_api/db &lt;BR /&gt;
ise_all_indexer_base&lt;BR /&gt;
Enabled | Disable   Delete&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;====== NEXT UP  &lt;/P&gt;

&lt;P&gt;Another update.   looking into the indexer splunkd.logs for anything relevant&lt;/P&gt;

&lt;P&gt;03-06-2013 14:09:52.945 -0500 INFO  HotDBManager - idx=github_api Setting hot mgr params: maxHotSpanSecs=7776000 snapBucketTimespans=false maxHotBuckets=3 maxDataSizeBytes=786432000 quarantinePastSecs=77760000 quarantineFutureSecs=2592000 &lt;BR /&gt;
03-06-2013 14:09:52.945 -0500 INFO  databasePartitionPolicy - idx=github_api Initialized with params='[300,60,188697600,,,,786432000,5,true,500000,5,5,false,3,0,_blocksignature,7776000,1000000,0,3,77760000,2592000,131072,25,0,15,0,0,-1,18446744073709551615,2592000,true,60000,300000,false]' isSlave=false needApplyDeleteJournal=false&lt;BR /&gt;
03-06-2013 14:09:52.945 -0500 INFO  DatabaseDirectoryManager - Writing a bucket manifest in hotWarmPath='/data/hotwarm-indexes/github_api/db'.  Reason='Refreshing manifest.'&lt;BR /&gt;
03-06-2013 14:09:52.946 -0500 INFO  databasePartitionPolicy - openDatabases complete currentId=0 idx=github_api&lt;BR /&gt;
[root@ic-spk01 splunk]#&lt;/P&gt;

&lt;P&gt;====== Another update&lt;/P&gt;

&lt;P&gt;Main indexer - suspicious.....&lt;/P&gt;

&lt;P&gt;So this could have something to do with it:&lt;/P&gt;

&lt;P&gt;03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Fri Jan 25 10:50:12 2013) is suspiciously far away from the previous event's time (Mon Jan 28 16:31:36 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;/P&gt;

&lt;P&gt;======  FINAL ANSWER?  &lt;/P&gt;

&lt;P&gt;So as part of the troubleshooting effort we did the following:&lt;/P&gt;

&lt;P&gt;1) copied the existing sample JSON data file and made a replica  &lt;/P&gt;

&lt;P&gt;cp -r notifications test1.txt&lt;/P&gt;

&lt;P&gt;cp -r test1.txt test.json&lt;/P&gt;

&lt;P&gt;cp -r test1.txt test2.txt&lt;/P&gt;

&lt;P&gt;Upon indexing?&lt;/P&gt;

&lt;H2&gt;on Indexer (splunkd.log)&lt;/H2&gt;

&lt;P&gt;03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Sat Jan 26 09:33:46 2013) is suspiciously far away from the previous event's time (Thu Jan 31 10:11:27 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;BR /&gt;
03-06-2013 15:35:40.563 -0500 WARN  DateParserVerbose - Accepted time (Fri Jan 25 10:50:12 2013) is suspiciously far away from the previous event's time (Mon Jan 28 16:31:36 2013), but still accepted because it was extracted by the same pattern. Context: source::/var/log/github_api/test2.txt|host::github_api|json|remoteport::58235&lt;BR /&gt;
03-06-2013 15:35:40.817 -0500 INFO  databasePartitionPolicy - idx=github_api Creating hot bucket=hot_v1_1, given event timestamped=1354488490&lt;BR /&gt;
03-06-2013 15:35:40.817 -0500 INFO  DatabaseDirectoryManager - Writing a bucket manifest in hotWarmPath='/data/hotwarm-indexes/github_api/db'.  Reason='Bucket directory structure changed.'&lt;/P&gt;

&lt;H1&gt;on Universal forwarder (splunkd.log)&lt;/H1&gt;

&lt;P&gt;03-06-2013 15:25:29.740 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///var/log/github_api/.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-file-system-on-universal-forwarder-remote-host-does-not/m-p/53307#M10285</guid>
      <dc:creator>tkropp</dc:creator>
      <dc:date>2020-09-28T13:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor file system on universal forwarder remote host does not forward data expected.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-file-system-on-universal-forwarder-remote-host-does-not/m-p/53308#M10286</link>
      <description>&lt;P&gt;For us the resolution seemed to be two things.&lt;/P&gt;

&lt;P&gt;1) Make data appear in the file system (new data, so generate some json and plop it in the directory.)&lt;/P&gt;

&lt;P&gt;2) modify the inputs.conf on the Universal forwarder to comment out ignoreOlderThan (the date time in data was going well back to last year)&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/github_api/]&lt;BR /&gt;
index=github_api&lt;BR /&gt;
-&amp;gt;#ignoreOlderThan=1d&lt;BR /&gt;
host_segment = 3&lt;BR /&gt;
sourcetype=json&lt;/P&gt;

&lt;P&gt;3) adjust a conflicting indexing configuration, we had the new index being defined in two places.&lt;BR /&gt;
  a. in the main indexer configuration we push to indexers.&lt;BR /&gt;
  b. in the default configuration specific to the new applications context (&lt;NEWAPP&gt;/default/indexes.conf)&lt;/NEWAPP&gt;&lt;/P&gt;

&lt;P&gt;we retained b. only for the application specific index.&lt;/P&gt;

&lt;H3&gt;Solved by removing "ignoreOlderThan=1d".&lt;/H3&gt;

&lt;H3&gt;Improved index configuration duplication by retain settings for indexes.conf in app specific configuration&lt;/H3&gt;

&lt;H3&gt;Update::: 20130307 - Able to add additional test data today.&lt;/H3&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:27:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-file-system-on-universal-forwarder-remote-host-does-not/m-p/53308#M10286</guid>
      <dc:creator>tkropp</dc:creator>
      <dc:date>2020-09-28T13:27:27Z</dc:date>
    </item>
  </channel>
</rss>

