Skip to main content
14-Alexandrite
April 17, 2020
Solved

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

  • April 17, 2020
  • 1 reply
  • 2488 views

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

Best answer by mnarang

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 

1 reply

mnarang5-Regular MemberAnswer
5-Regular Member
April 20, 2020

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 

jbester14-AlexandriteAuthor
14-Alexandrite
April 20, 2020

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

5-Regular Member
April 21, 2020

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