Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello all,
How to get application log in eclipse extension ?
Regards,
Velkumar R
Solved! Go to Solution.
You can query the Logs entity, <ThingWorxServerName:portNumber>/Thingworx/Logs, e.g. there is default function like :
http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/GetLogEntries
or
http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries
Hi @Velkumar as far as I see we don't have something like Logs["ApplicationLog"].GetLogEntries(params) in the Extension SDK
Could you comment a bit what exactly is your use case?
Hello @supandey,
We want to read Thingworx Application log and convert into infotable using extension.
Regards,
Velkumar R
You can query the Logs entity, <ThingWorxServerName:portNumber>/Thingworx/Logs, e.g. there is default function like :
http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/GetLogEntries
or
http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries
Hello @supandey,
Thanks for your reply.
This link returning definition of the service, but when try below link it returning application log
http://localhost/Thingworx/Logs/ApplicationLog/Services/QueryLogEntries
Regards,
Velkumar R