Sign up BuildOnBSV / loggeru Public Notifications Star 6 Fork 0 Code Issues 3 Pull requests 5 Actions Projects Wiki Security Insights master Go to file Code Latest commit BuildOnBSV and BuildOnBSV Merge https://github.com/BuildOnBSV/loggeru … on Dec 6, 2019 Git stats 11 Files Type bin added decryption 2 years ago .DS_Store added logo 2 years ago .gitignore initial commit 2 years ago index.js added decryption 2 years ago logo.png added logo 2 years ago package-lock.json added decryption 2 years ago package.json added decryption 2 years ago readme.md updated readme 2 years ago server.js added decryption 2 years ago readme.md About Use Loggeru to automatically record file alterations to the Bitcoin SV blockchain. Future features include CSV export, USD billing, Splunk integration, CLI decryption, and a visual explorer on loggeru.com. Install npm install -S bsv npm install -g loggeru Run loggeru This will return a BSV private key, public key, and address, as well as a AES 256 key. Please record these or use your own. We do not store these. Once you have a funded BSV private key: loggeru -k bsvPrivateKey -f /file/to/watch -t tagForYourData -r regexExpressionToLookFor -e optionalEncryptionCode Example values: -t myCompanyName -f /var/log/secure -k 36a5a9a7b2ef8d18538db2f16752dd015140d7e5e706aa0a364d17c92416b901 -r 'Accepted publickey' -e fd2f50f13c7bcb424e68f04af14d515cbd42e637da9ed317338e4d35de564c5e` This example checks /var/log/secure for new lines with 'Accepted publickey' in the text, then makes a BSV transaction with that data in the OP_RETURN. The result of this is that the IP of anyone who accesses this RHEL/Centos virtual machine (Amazon Linux AMI) via SSH will be written to BSV. Troubleshooting Getting a permission error? For /var/log/secure on an Amazon EC2 instance, I fixed it with this: sudo setfacl -Rm u:ec2-user:rX,d:u:ec2-user:rX /var/log And also added this to /etc/logrotate.d/Loggeru_ACLs (otherwise permissions will be reset automatically): { postrotate /usr/bin/setfacl -Rm u:ec2-user:rX,d:u:ec2-user:rX /var/log endscript } About No description, website, or topics provided. Resources Readme Releases No releases published Packages No packages published Languages JavaScript 100.0% © 2021 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About