Process of pushing log to nexus

1、pre-requierments:1 * ubuntu OS VM ( eg. ubuntu 20.04 ) ,you get the external log pushing permissions (could find instructions in  How to: Push Logs to Nexus - Akraino - Akraino Confluence), upload the logs to VM by ftp

2、create .netrc file

按格式写自己的LF登录用户名和密码 (need get the permissions in step1)

3、apt update -y 

4、Install lftools use pip3

https://docs.releng.linuxfoundation.org/projects/lftools/en/latest/installation.html

NOTE: System may request to upgrade pyjwt >=2.4.0

Upgrade command: pip3 install --upgrade pyJWT

5、zip logs which you need to push

6、Use the command as shown in the figure to upload. The directory will be automatically generated.