Skip to main content
Apr 17, 2020 2:24 PM UTC
Solved

System - Logs not visible to admin user in Thingworx new composer

Good day All,

 

I am trying to provide non-administrative user permission to view the Application and Script log in Thingworx 8.4.7. This is similar to this case: 

https://community.ptc.com/t5/ThingWorx-Developers/Monitor-Log-Access-in-7-1/td-p/520204

 

However, in the new composer the System - Logs are not available anymore to change the permissions.

 

How do I go about doing this in the new composer?

 

Thanks,

Johan Bester

mnarangAnswer
Apr 20, 2020 12:51 PM UTC

In the new composer Permission tab ->Collection permission ,there is Logs collection .You need to provide permission on this collection .Please see the attached screenshot to locate Logs in collection permission.

 

 

 

Thanks,

Mukul Narang 

4 replies

mnarangAnswer
Apr 20, 2020 12:51 PM UTC

In the new composer Permission tab ->Collection permission ,there is Logs collection .You need to provide permission on this collection .Please see the attached screenshot to locate Logs in collection permission.

 

 

 

Thanks,

Mukul Narang 

jbesterAuthor
Apr 20, 2020 12:57 PM UTC

Hi @mnarang,

 

Do you know of any way to filter what log entries are visible to the non-administrative user? e.g. that they can only see the log entries as it is related to entities for which they have visibility permissions?

 

I recall something like this being done for the multi-tenant environment that the Capstone projects were hosted on for PTCU.

 

Thanks,

Johan Bester

Apr 21, 2020 6:54 AM UTC

The log entries are being fetched using "QueryLogEntries" service of specific log types. There is already an OOTB filter on the Log page which has an option for selecting the user. The snippet of QueryLogEntries have many inputs to filter. If you want to filter using the OOTB log page then go for the filter options available .If you want to fix the filtering than you need to customize the log mashups to execute the service with required filter inputs .

 

 

Thanks,

Mukul Narang