Troubleshooting PI Web API Crawler Indexing Issues in PI Vision
Explore strategies to address discrepancies in PI Web API crawler indexing, affecting PI Vision tag visibility.
Roshan Soni
title: "Troubleshooting PI Web API Crawler Indexing Issues in PI Vision" excerpt: "Explore strategies to address discrepancies in PI Web API crawler indexing, affecting PI Vision tag visibility." categories: ["PI System", "Data Management"] tags: ["PI Web API", "PI Vision", "Tag Indexing", "Troubleshooting"]
Understanding PI Web API Crawler Indexing Issues
In a well-architected PI System environment, the consistency of tag visibility across different platforms like PI Vision is crucial. A common issue arises when the PI Web API crawler fails to index all the available PI tags, leading to missing tag data in PI Vision. Understanding and resolving this discrepancy requires a methodical approach, focusing on the service account, security settings, and tag parameters.
The Problem
In one such case, a PI Web API crawler was found to be indexing only 40,805 tags from the archive, whereas PI SMT reported 42,447 data streams. Despite running every three minutes, the crawler left over 1,600 tags unindexed. Further analysis via direct PI Web API queries showed a count of 42,444, indicating only a three-tag difference, which points towards potential indexing issues due to tag parameters.
Investigative Steps
-
Service Account Verification:
- Identify the service account running the PI Web API Crawler.
- Verify the PI Identity of this service account to ensure it aligns with necessary access levels.
-
Security Settings Analysis:
- Examine the security settings for the unindexed PI Points. Check if the connected identity is part of the
piadminsgroup, which typically should prevent access issues.
- Examine the security settings for the unindexed PI Points. Check if the connected identity is part of the
-
Tag Parameter Check:
- Tags might have specific parameters that restrict them from being indexed. Investigating attributes like point type, security settings, and archive availability could uncover potential barriers.
-
PI Vision Launch Analysis:
- Attempt to access PI Vision using the service account itself. If tags become visible, the problem likely resides in the specific user account permissions rather than the service account.
-
User Account Permissions:
- If tags are visible with the service account but not the user account, reassess the permissions of the user account to ensure they mirror those that grant tag visibility.
Conclusion
Indexing discrepancies in PI Web API not only affect data accessibility but also disrupt operational efficiency in using PI Vision. Identifying the root cause involves careful examination of tag parameters, role-based security assessments, and ensuring that the PI Web API crawler configuration aligns with the intended permissions. By following these diagnostic steps, one can minimize visibility issues and maintain data integrity across PI System applications.
These strategies should not only resolve existing discrepancies but also guide preventive measures for future indexing challenges.
Tags
About Roshan Soni
Expert in PI System implementation, industrial automation, and data management. Passionate about helping organizations maximize the value of their process data through innovative solutions and best practices.
No comments yet
Be the first to share your thoughts on this article.
Related Articles
Developing Expertise in PI System and Related Technologies: A Comprehensive Training Roadmap
This blog outlines a comprehensive training roadmap for developing expertise in the PI System and related technologies. Structured over four weeks, the program covers essential technologies like the PI System, Asset Framework, and various APIs, providing a strong foundation for data management and analytics.
Roshan Soni
Traversing an AF Database Hierarchy to Count All Elements Using OSIsoft AF SDK
Learn how to use the OSIsoft AF SDK in C# to traverse an AF database and count all elements within its hierarchy. This blog post provides a comprehensive guide with code examples for connecting, traversing, and counting AF elements.
Roshan Soni
A Beginner's Guide to Learning the OSIsoft PI System
Unlock the power of real-time data management and analytics with OSIsoft PI System. This beginner's guide provides a structured learning path and key resources to help you effectively learn the PI System.
Roshan Soni