Skip to content

Commit 2fe051b

Browse files
authored
WMS: 11923 Monitor and Optimize Oracle SaaS Apps and OIC Business Flows with Log Analytics (#384)
* Multicloud ODAA DBM and OPSI July Review * dbm_oracledbatazure_lab_update * dbm-oracledbatazure-adbs * OPSI-oracledbatazure-update * odaa-title-update * odaa-h2-tag-update * odaa-oracledbatazure-code-update * Logan-ll-commit * logan-ll-commit * logan livelab commit * logan livelab updates * logan livelab changes * logan-livelab-commit * Logan-livelab-commit * fix the lab title gerund * logan livelab commit * Logan livelab lab4 title update * Logan livelab screenshot ocid redaction * LA Livelab feedback and bug updates * LA Livelab bug fix * LA livelab update GenAI LoganAI
1 parent 52f7650 commit 2fe051b

File tree

32 files changed

+132
-94
lines changed

32 files changed

+132
-94
lines changed
18 KB
Loading
21.6 KB
Loading

logging-analytics/saas-oic-monitoring/monitoring-e2e-po-flow/monitoring-e2e-po-flow.md

Lines changed: 23 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,8 @@ The following components generate logs that are crucial for end-to-end observabi
3838
- **Technical correlation for integration flows**
3939
- Transaction ID
4040
- OPC Request ID
41-
- **User ID** to track user actions across ERP and VBCS
4241
- **Timestamp** to track chronological ordering of events across components
4342

44-
**Cross-Component Traceability:**
45-
- **Correlation ID**: Unique identifier passed through all components
46-
- **Timestamp Alignment**: Synchronized timestamps across all log sources
47-
- **Business Context**: PO number, user ID, and transaction ID tracking
48-
- **Error Propagation**: Error details flow from source to downstream components
49-
5043
## Task 2: Find the Purchase Order information
5144

5245
### Use APEX app to check the Real-Time Purchase Order information
@@ -57,12 +50,12 @@ The following components generate logs that are crucial for end-to-end observabi
5750

5851
## Task 3: Tracing the Purchase Order Business Identifiers
5952

60-
- **Navigate to Oracle Cloud Console**
53+
**Navigate to Oracle Cloud Console**
6154
- Log in to your Oracle Cloud Infrastructure console
6255
- Navigate to **Observability & Management****Log Analytics**
6356
- Click on **Log Explorer**
6457

65-
- **Click the Log Explorer filter**
58+
**Click the Log Explorer filter**
6659
- Make sure the Log Group Compartment **emdemo(root)** is selected
6760
- Make sure the Region **US West (Phoenix)** is selected
6861
- Change the Time Range to **Last 8 hours**
@@ -90,15 +83,15 @@ The following components generate logs that are crucial for end-to-end observabi
9083

9184
- Select the Time Range: Last 30 days
9285
- Visualization: Link
93-
- Run the following query in Log Explorer:
9486
- Click the saved search URL [**Purchase Order Integration Runs Duration**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaa7dz5imt6qebrrdet4r4zwme7qjh5mpeo53ox2tlbig2f6q5m64pq&jobId=3f01334b-17d5-3c6a-5e2d-013ff05b6c9e&region=us-phoenix-1) to open the saved search in Log Explorer
87+
- Or run the following query in Log Explorer:
9588

9689
```sql
9790
<copy>
9891
(300000313760215 or US165676) and 'Log Source' in ('OCI Integration Activity Stream Logs', AIW_PO_ERP_ATP) | link 'OPC Request ID', Integration | eval Duration = 'End Time' - 'Start Time'
9992
</copy>
10093
```
101-
94+
- **Optional**: You can substitute the PO number with your own PO number to track the duration of your Purchase Order integration runs.
10295
- Example Result Screenshot:
10396

10497
![Purchase Order Integration Runs Duration](images/logan-ll-purchase-order-integration-runs-duration.png)
@@ -109,14 +102,14 @@ The following components generate logs that are crucial for end-to-end observabi
109102
- Select the Time Range: Last 24 hours
110103
- Visualization: Link
111104
- Click the saved search URL [**Purchase Order Flow Timeline**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaagibcw7an4rryjyozga3iqr7udva24h4p5idoh2xijcsdmr3idl5q&jobId=2e412276-e814-1cfd-f5df-4ed035aed6d8&region=us-phoenix-1) to open the saved search in Log Explorer
112-
- Run the following query in Log Explorer:
105+
- Or run the following query in Log Explorer:
113106

114107
```sql
115108
<copy>
116-
'Log Source' = 'OCI Integration Activity Stream Logs' | eval 'Purchase Order' = if(Key = poheaderid, Value, null) | link 'Purchase Order' | sequence name = 'Sequence of Events' [ Integration != null ]{1,} select Integration
109+
'Log Source' = 'OCI Integration Activity Stream Logs' | eval 'Purchase Order' = if(Key = poheaderid, Value, null) | link 'Purchase Order' | sequence name = 'Action Steps of the PO' [ Integration != null ]{1,} select Integration
117110
</copy>
118111
```
119-
- Select the Sequence of Events in the table view
112+
- Select the Action Steps of the PO in the table view
120113

121114
Example Result Screenshot:
122115

@@ -128,27 +121,33 @@ Example Result Screenshot:
128121
- Select the Time Range: Last 30 days
129122
- Visualization: Table
130123
- Click the saved search URL [**Track a specific Purchase Order for example: 300000313760215 or US165676 across all systems**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaaatq6boajnavzdpjf2oa6htih5jzdqetq6w4w4jwe4hotoqlb3owq&jobId=95046557-fc66-aa76-508f-0c37f3332164&region=us-phoenix-1) to open the saved search in Log Explorer
131-
- Run the following query in Log Explorer:
124+
- Or run the following query in Log Explorer:
132125

133126
```sql
134127
<copy>
135128
(300000313760215 or US165676) and 'Log Source' in ('OCI Integration Activity Stream Logs', AIW_PO_ERP_ATP) | fields -Entity, -'Host Name (Server)', -'Problem Priority', -Label, Integration, Message, Value, Action, 'Action Type', 'OPC Request ID', -'Entity Type'
136129
</copy>
137130
```
138-
131+
- **Optional**: You can substitute the PO number with your own PO number to track the duration of your Purchase Order integration runs.
139132
- Example Result Screenshot:
140133

141134
![Purchase Order Integration Flows](images/logan-ll-purchase-order-integration-flows-details.png)
142135

143136

144-
## Task 4: Monitoring the Oracle Integration Transactions Performance
137+
## Task 4: Monitoring the Oracle Integration Purchase Order Transactions Performance
138+
139+
### **Potential Performance issues in the Purchase Order integration flows**
140+
- Too many orders generated in a short period of time
141+
- Bottleneck in the integration flow
142+
- Slow FTP Server due to network response time
143+
- Database performance issue due to high wait events
145144

146145
### **Oracle Integration Cloud Milestones Trend**
147146

148147
- Select the Time Range: Last 24 hours
149148
- Visualization: Records with Histogram
150149
- Click the saved search URL [**Oracle Integration Cloud Milestones Trend**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaa5k23nuywnvlorwmhzm3amzqyduix4ijimatifxdqrhddsiah2upq&jobId=f2b2c50a-5088-ca02-2a37-7ac59e121ba6&region=us-phoenix-1) to open the saved search in Log Explorer
151-
- Run the following query in Log Explorer:
150+
- Or run the following query in Log Explorer:
152151

153152
```sql
154153
<copy>
@@ -165,11 +164,11 @@ Example Result Screenshot:
165164
- Select the Time Range: Last 24 hours
166165
- Visualization: Pie
167166
- Click the saved search URL [**Oracle Integration Action Types Summary**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaagsk2yup63wu52yjjvhazqrwrhtlgyah52bki3iumu7pgf4pjnmca&jobId=8d66a7b0-bbac-faa8-b420-0723bbe64cd8&region=us-phoenix-1) to open the saved search in Log Explorer
168-
- Run the following query in Log Explorer:
167+
- Or run the following query in Log Explorer:
169168

170169
```sql
171170
<copy>
172-
'Action Type' in (Invoke, Log, Notification, Raise_error, Submitnow, Stop, Switch, Raise_new_error, Receive) and 'Log Source' = 'OCI Integration Activity Stream Logs' and Identifier != null and 'OPC Request ID' != null | stats count(Action) as Milestones by Action
171+
'Action Type' in (Invoke, Log, Notification, Raise_error, Submitnow, Stop, Switch, Raise_new_error, Receive) and 'Log Source' = 'OCI Integration Activity Stream Logs' and Identifier != null and 'OPC Request ID' != null and Action != null | stats count(Action) as Milestones by Action
173172
</copy>
174173
```
175174

@@ -184,7 +183,7 @@ Example Result Screenshot:
184183
- Select the Time Range: Last 24 hours
185184
- Visualization: Link
186185
- Click the saved search URL [**Analyze Oracle Integration Cloud Transaction Performance**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaa32o74wmh6ler6mxqwilpviqttuqu74yhmnf7rcxqtlbpsd7jkbsa&jobId=85f6ff26-2f02-95f5-ca45-8cca3fd47629&region=us-phoenix-1) to open the saved search in Log Explorer
187-
- Run the following query in Log Explorer:
186+
- Or run the following query in Log Explorer:
188187

189188
```sql
190189
<copy>
@@ -198,19 +197,12 @@ Example Result Screenshot:
198197

199198
![Purchase Order Integration Flows](images/logan-ll-identify-slow-processing-steps.png)
200199

201-
202-
### **Potential Performance issues in the Purchase Order integration flows**
203-
- Too many orders generated in a short period of time
204-
- Bottleneck in the integration flow
205-
- Slow FTP Server due to network response time
206-
- Database performance issue due to high wait events
207-
208200
### **Identify the long running Purchase Order integrations**
209201

210202
- Select the Time Range: Last 24 hours
211203
- Visualization: Link
212204
- Click the saved search URL [**Identify the long running Purchase Order integrations**](https://cloud.oracle.com/loganalytics/explorer?savedSearchId=ocid1.managementsavedsearch.oc1..aaaaaaaaceb6o434pqfihntr5xsstfabzgay34j36arevkrfkjmesmcqkgaq&jobId=843d119e-600b-63aa-929e-b9e580e363c8&region=us-phoenix-1) to open the saved search in Log Explorer
213-
- Run the following query in Log Explorer:
205+
- Or run the following query in Log Explorer:
214206

215207
```sql
216208
<copy>
@@ -222,22 +214,6 @@ Example Result Screenshot:
222214

223215
![Identify the long running Purchase Order integrations](images/logan-ll-identify-the-long-running-purchase-order-integrations.png)
224216

225-
### **Identify the long running Purchase Order integrations with Chart**
226-
227-
- Select the Time Range: Last 24 hours
228-
- Visualization: Link
229-
- Run the following query in Log Explorer:
230-
231-
```sql
232-
<copy>
233-
'Log Source' in ('OCI Integration Activity Stream Logs', AIW_PO_ERP_ATP) and Integration != rpa_integration and Integration != dell_ftp_receive | link 'OPC Request ID', Integration | stats avg(Duration) as Duration | eval Duration = 'End Time' - 'Start Time' | sort -Duration | fields -'End Time' | classify topcount = 500 correlate = -*, 'OPC Request ID' 'Start Time', Integration, Duration as 'PO Integrations duration'
234-
</copy>
235-
```
236-
237-
- Example Result Screenshot:
238-
239-
![Identify the long running Purchase Order integrations with Chart](images/logan-ll-identify-the-long-running-purchase-order-integrations-with-chart.png)
240-
241217

242218
## Task 5: Visualize the Purchase Order business data in Log Analytics
243219

@@ -271,9 +247,9 @@ You may now proceed to the [next lab](#next).
271247
## Learn More
272248

273249
* [Oracle Cloud Infrastructure Log Analytics Documentation](https://docs.oracle.com/en-us/iaas/log-analytics/)
274-
* [Log Analytics Query Language Reference](https://docs.oracle.com/en-us/iaas/log-analytics/doc/query-language.html)
250+
* [Log Analytics Query Language Reference](https://docs.oracle.com/en-us/iaas/log-analytics/doc/command-reference.html)
275251
* [Creating Dashboards in Log Analytics](https://docs.oracle.com/en-us/iaas/log-analytics/doc/create-dashboards.html)
276-
* [Setting up Alerts in Log Analytics](https://docs.oracle.com/en-us/iaas/log-analytics/doc/set-up-alerts.html)
252+
* [Setting up Alerts in Log Analytics](https://docs.oracle.com/en-us/iaas/log-analytics/doc/create-alerts-detected-events.html)
277253
* [Oracle Fusion Applications Documentation](https://docs.oracle.com/en/applications/)
278254
* [Oracle Integration Cloud Documentation](https://docs.oracle.com/en/cloud/paas/integration-cloud/)
279255

506 KB
Loading
24.5 KB
Loading
1.72 KB
Loading
377 KB
Loading
23.5 KB
Loading
73.4 KB
Loading

0 commit comments

Comments
 (0)