alarm_analysis:meta_tags
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
alarm_analysis:meta_tags [2023/06/21 10:31] – su | alarm_analysis:meta_tags [2023/09/08 10:57] – su | ||
---|---|---|---|
Line 15: | Line 15: | ||
This above meta tag requests the priority of the 3rd most frequently occuring Alarm on the Oil Co Osprey asset. Clearly this is not a value you would expect to interrogate like a regular process data tag, however there may be cases where it is required. | This above meta tag requests the priority of the 3rd most frequently occuring Alarm on the Oil Co Osprey asset. Clearly this is not a value you would expect to interrogate like a regular process data tag, however there may be cases where it is required. | ||
- | If explicit tag entry is not permitted in an app, and the meta-tag is not available in search, it can be manually added to the Alarm Analysis Tag Index. | + | If explicit tag entry is not permitted in an app, and the meta-tag is not available in search, it can be manually added to the Alarm Analysis Tag Index. |
- | ===== How to add a "Meta Tag" to an Alarm Analysis Tag Index ===== | ||
- | |||
- | //Adding a meta-tag to an Alarm Analysis Tag Index will make it tag discoverable and allow other apps to query it.// | ||
- | |||
- | **Complexity Level:** Advanced \\ | ||
- | **Required Privileges: | ||
- | |||
- | To administer an Alarm Analysis Tag Index, you must log on the App Store Connect server hosting the Alarm Analysis data source. The instructions below are useful Powershell command. | ||
- | |||
- | **1. Identifiy Alarm Analysis Tag Indices** | ||
- | |||
- | ### Get all AA Tag Indices | ||
- | | ||
- | Invoke-WebRequest -Uri http:// | ||
- | | ||
- | | Select-Object -Expand Content | ||
- | |||
- | Tag Indices names are constructed thus: | ||
- | |||
- | | ||
- | e.g. " | ||
- | |||
- | **2. Query a Tag Index** | ||
- | |||
- | ### Find tag in tag index | ||
- | |||
- | $body=' | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | } | ||
- | }' | ||
- | | ||
- | Invoke-RestMethod -Uri http:// | ||
- | -ContentType ' | ||
- | -Method Post ` | ||
- | -Body ' | ||
- | | ConvertTo-Json -Depth 20 | ||
- | | ||
- | The above query is checking the " | ||
- | |||
- | **3. Add an entry to a Tag Index** | ||
- | |||
- | If a tag doesn' | ||
- | |||
- | ### Add tag to tag index | ||
- | |||
- | $body=' | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | } | ||
- | }' | ||
- | |||
- | Invoke-RestMethod -Uri http:// | ||
- | -ContentType ' | ||
- | -Method Post ` | ||
- | -Body ' | ||
- | | ConvertTo-Json -Depth 20 | ||
- | |||
- | **4. Remove an entry to a Tag Index** | ||
alarm_analysis/meta_tags.txt · Last modified: 2024/01/31 14:23 by su