Posted on 04-23-2014 12:53 AM
Does anybody know if there is a size limit for EAs?
I'd like to collect a log file from all newly enrolled machines but I don't want to break something in the database...
Posted on 04-23-2014 07:23 AM
I'm not certain, but I doubt I'd want to have an entire log file in my db under the Extension Attributes section. We have some EAs that are multiple lines of information, but that's not the same as the contents of a log file, some of which can be 1000s of lines long.
You may be better off using the API in a script to upload the target log file as an attachment.
Take a look at this thread, about the 8th post down, I explain how you can upload a file as an attachment to a computer's record using the Casper Suite API.
https://jamfnation.jamfsoftware.com/discussion.html?id=9697
You should then be able to download that attachment from the Attachments section later. Now, granted, using that method won't allow you to do any searches against it, but, searching against an entire log file contained in the database would probably be pretty painful anyway, and may just time out on you.
Posted on 04-23-2014 10:12 AM
@mm2270 do you know if the upload issue you submitted a defect for has been fixed?
Posted on 04-23-2014 10:26 AM
@jhbush1973 - Dang! I completely forgot about that bug. Let me follow up with my TAM on that and see if it was ever fixed or if they plan to. Thanks for reminding me about it.
Posted on 04-23-2014 12:41 PM
Quick follow up. I can't confirm this, but m TAM reported to me that this defect was fixed in the 9.3 release, so if you're running that version it looks like you may be OK with the above process.
If anyone cares to confirm this, that would be great.