0

Filebeat failed to fill data into redis

Open the dbug query but don't know what the reason is. Help me find out why. Thanks

filebeat config enter image description here redis log enter image description here

filebeat log

2018-11-28T19:02:52.470+0800    DEBUG   [input] input/input.go:152      Run input
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:174        Start next scan
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:404        Check file for harvesting: /application/nginx/logs/access_json-1.log
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:494        Update existing file for harvesting: /application/nginx/logs/access_json-1.log, offset: 1758536
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:548        File didn't change: /application/nginx/logs/access_json-1.log
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:404        Check file for harvesting: /application/nginx/logs/access_json.log
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:494        Update existing file for harvesting: /application/nginx/logs/access_json.log, offset: 35070
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:546        Harvester for file is still running: /application/nginx/logs/access_json.log
2018-11-28T19:02:52.470+0800    DEBUG   [input] log/input.go:195        input states cleaned up. Before: 2, After: 2, Pending: 0
2018-11-28T19:02:55.468+0800    DEBUG   [harvester]     log/log.go:102  End of file reached: /application/nginx/logs/access_json.log; Backoff now.
Community
  • 1
  • 1
赵宇恒
  • 11
  • 6
  • Add logs/code/error messages as text, not as image – barbsan Nov 28 '18 at 10:52
  • @barbsan debug log 2018-11-28T18:54:42.433+0800 DEBUG [input] log/input.go:548 File didn't change: /application/nginx/logs/access_json-1.log 2018-11-28T18:54:42.433+0800 DEBUG [input] log/input.go:404 Check file for harvesting: /application/nginx/logs/access_json. log 2018-11-28T18:54:42.433+0800 DEBUG [input] log/input.go:494 Update existing file for harvesting: /application/nginx/logs/ac cess_json.log, offset: 30685 2018-11-28T18:54:42.433+0800 DEBUG [input] log/input.go:546 – 赵宇恒 Nov 28 '18 at 10:58
  • whatever it is post it as text – barbsan Nov 28 '18 at 10:58
  • @barbsan Can't paste too much text, I can only paste parts,I am a newbie, please also give me a lot of advice. – 赵宇恒 Nov 28 '18 at 11:00
  • [edit] your question instead of pasting it in comments – barbsan Nov 28 '18 at 11:00
  • @barbsan The log has been pasted into the edit box – 赵宇恒 Nov 28 '18 at 11:05
  • ok, just don't remove everything, only replace image links, do the same for that config file and that second log (keep it as short as possible) – barbsan Nov 28 '18 at 11:10
  • @barbsan I am sorry, I am in trouble. I have re-copied the log. – 赵宇恒 Nov 28 '18 at 11:17
  • I've formatted your config and log file and added back description of your issue. Feel free to rollback to any [revision](https://stackoverflow.com/posts/53517642/revisions) you want or copy that previous log into your question again (I'm a bit confused whether you want it here or that new log is enough) – barbsan Nov 28 '18 at 11:34
  • #barbsan very sorry. Yesterday evening, I have a question, how can I solve this problem? Thank you. Thank you. – 赵宇恒 Nov 29 '18 at 02:50
  • #barbsan I have found the problem because I wrote one more character. – 赵宇恒 Dec 13 '18 at 04:30

0 Answers0