The error message indicates nul characters in the JSON data and that's not valid. You can use a tool like hexdump to inspect what the file really contains, including non-printable characters like nul.
Do you mean storing remotely is bad idea generally or only using NFS ?
I think most companies using remote log's storing as they have many instances of applications.
Do you mean storing remotely is bad idea generally or only using NFS ?
Logging is a fundamental part of any application and you always want logging to work. You also don't want the logging itself to break the application. Therefore I'd always want log files to reside in a local volume so that the risk of failure is minimized.
I think most companies using remote log's storing as they have many instances of applications.
I agree that many companies run many instances of applications but I don't think that's a valid reason for storing the logs on NFS.
Yes, i know. Would be perfect to store files locally and additionally to send them remotely to Logstash for statistics purposes. But it not depends on me unfortunately.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.