Is there anyway to see the history of changes to a PI tag,not a config file,
for example- who was the last person to edit the pi tag and when?
When a tag is edited, a message is logged on the Data Archive like the following:
I 04-Mar-19 11:23:02 pibasess:Point (6079)
>> Point [Name: tagname, ID: #] - Edited by user DOMAIN\user (userid: #, cnxnid: #)
This does not indicate the change that was made to the tag. However, if you have auditing enabled (EnableAudit tuning parameter is -1, or another bitmask value that would enable point edit auditing), then you will be able to see the change record:
Here my user changed pointsource from L to Test.
Note: When the tag edit is done, if the connection was made through a trust and not a mapping, then the editing username will be the PI user (like piadmin) instead of the windows user (DOMAIN\user).
Hope this helps!
I would like to highlight one issue with Audit files especially during analysis backfilling. If we change Enable Audit turning parameter to -1 then we could see log of piaudit files generated when analysis is backfilled and would suggest to avoid -1 unless required for audit purpose. As you rightly pointed out PI Audit viewer will suffice and would suggest Enable Audit Turning parameters based on bitmak suggested in the documentation.
Yes, that's a good point. I didn't intend to recommend a setting of -1, was just trying to indicate the criteria that needed to be met to have the point edit auditing enabled. Thanks for pointing that out!
Retrieving data ...