Hi,
I have an ELK cluster. I have some files in a input dir which I need to forward to the ELK via LSF. My ELK and LSF are on the same machine. When I restarted ELK and LSF I am getting following msgs in LSF err logs:
2015/10/24 15:58:10.816007 Launching harvester on new file: /mnt/ssd/ELK_input/ELK-input/oath.log
2015/10/24 15:58:10.816233 Launching harvester on new file: /mnt/ssd/ELK_input/ELK-input/vpn_20151020.log
2015/10/24 15:58:10.816268 Launching harvester on new file: /mnt/ssd/ELK_input/ELK-input/syslog
2015/10/24 15:58:10.816496 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.12:00:00-13:00:00.log
2015/10/24 15:58:10.816524 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.13:00:00-14:00:01.log
2015/10/24 15:58:10.816541 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.14:00:01-15:00:00.log
2015/10/24 15:58:10.816557 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.15:00:00-16:00:00.log
2015/10/24 15:58:10.816575 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.16:00:00-17:00:00.log
2015/10/24 15:58:10.816591 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.17:00:00-18:00:00.log
2015/10/24 15:58:10.816603 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.18:00:00-19:00:00.log
2015/10/24 15:58:10.816618 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.19:00:00-20:00:00.log
2015/10/24 15:58:10.816631 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.20:00:00-21:00:00.log
2015/10/24 15:58:10.816645 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.21:00:00-22:00:00.log
2015/10/24 15:58:10.816657 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.22:00:00-23:00:00.log
2015/10/24 15:58:10.816669 Skipping file (older than dead time of 24h0m0s): /mnt/ssd/ELK_input/ELK-input/communication.23:00:00-00:00:00.log
I have pasted all the input files in the mnt/ssd/ELK_input/ELK-input/ dir at the same time, but some of them are getting harvested and forwarded by LSF, but some are getting skipped. All the log files are consisting events of the same day, so how LSF is randomly choosing between some files to forward and some to skip?
Following are some config details:
~Machine: Linux elk-test 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
~ES version: 1.7
~LS version: 1.5
~Kibana version: 4.1.2
~LSF version: 0.4.0
logstash-forwarder.conf :
{
The network section covers network configuration
"network": {
"servers": [ "localhost:5000" ],
"ssl ca": "/etc/pki/tls/certs/logstash-forwarder.crt",
"timeout": 15
},
The list of files configurations
"files": [
{
"paths": [ "/mnt/ssd/ELK_input/ELK-input/oath.log" ],
"fields": { "type": "oathlog" }
},
{
"paths": [ "/mnt/ssd/ELK_input/ELK-input/vpn_.log" ],
"fields": { "type": "vpnlog" }
},
{
"paths": [ "/mnt/ssd/ELK_input/ELK-input/syslog" ],
"fields": { "type": "syslog" }
},
{
"paths": [ "/mnt/ssd/ELK_input/ELK-input/communication..log" ],
"fields": { "type": "communicationlog" }
}
]
}
Any help would be appreciated. Also, when I am copy pasting some new files in the input dir, they are also skipped.
Thanks,
Fatema.