Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Cannot find DatabaseLog in Thingworx 9.1.0 Monitoring logs but able to see the same in thingworx 9.0.0
Could you please help me If I have to make any changes
Solved! Go to Solution.
GetLogEntries will only work for below logs.
One of the possible solutions to load the Database log in a mashup is via a custom extension. You can refer this article, it explains how to get contents of a file on a drive from ThingWorx service.
Regards,
Sachin Sharma
var logTable = Logs["DatabaseLog"].GetLogEntries({
oldestFirst: true /* BOOLEAN */,
maxItems: 67 /* NUMBER */
});
result = logTable;
The above code works only for the logs displayed in Monitoring logs where as it doesnt work for DatabaseLog
Any workaround for this?
I did not get any update on the above query.Can you respond on it
GetLogEntries will only work for below logs.
One of the possible solutions to load the Database log in a mashup is via a custom extension. You can refer this article, it explains how to get contents of a file on a drive from ThingWorx service.
Regards,
Sachin Sharma