Size limit for Extension Attributes?

tycho
New Contributor II

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...

4 REPLIES 4

mm2270
Legendary Contributor II

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.

jhbush
Valued Contributor II

@mm2270 do you know if the upload issue you submitted a defect for has been fixed?

mm2270
Legendary Contributor II

@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.

mm2270
Legendary Contributor II

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.