KACE Product Support Question
Can I upload to the K1000 Console a logfile I create in my script?
06/16/2016 1013 views
I have a bash script I'm running on a Mac, via Scripting / Scripts. This bash script creates a local log file on the Mac (/Library/Logs/Bubba/bub.log). Is there a way to have such a log visible to the K1000 console so that after I run a script, the Run Now Status / Detail / Successful Execution [x] / [computer] View Logs would show me that log? Currently, I can ssh over to the Mac and look at the log, but it'd be great if I could see that log from the K1000 console.
Answer Chosen by the Author
Please log in to answer
Have you tried using custom inventory rule to do a text return of that log? Using CIR you should be able to read the contents of the log file in your KBOX Inventory for that MAC
You could also use the KBOX Scripting engine to just upload the log using the internal wizard and select "upload file" form the drop down and it will pull the file and attache it to the Device > Inventory of the MAC
Answered 06/16/2016 by: nshah