Skip to content

Commit

Permalink
Update sa_sc_demo_02_po_lifecycle_mgmt.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
cduffey-splunk authored Nov 1, 2024
1 parent e2a644c commit a1b1213
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<label>Demo 02 : Supply Chain PO Lifecycle Monitoring</label>
<description>Monitoring all EDI X12 / SAP iDocs Transactions from ERP / Data Exchange Platforms</description>
<search id="search_global_01">
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850, 997)
<query>sourcetype="edi:x12" edi_code IN (850, 997)
| fields + * </query>
<earliest>$INPUT_TIME_GLOBAL.earliest$</earliest>
<latest>$INPUT_TIME_GLOBAL.latest$</latest>
Expand Down Expand Up @@ -34,7 +34,7 @@
<title>Total Amount of POs</title>
<single>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats last(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -67,7 +67,7 @@
<title>POs with No Respose</title>
<single>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| table _time edi_ack_status edi_buyer edi_code edi_code_ack edi_cont_num edi_date edi_flag edi_requestor edi_responder edi_seller edi_sequence edi_time edi_tr_id edi_type
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
Expand Down Expand Up @@ -102,7 +102,7 @@
<title>PO Error / Retry Rates</title>
<single>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats last(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -138,7 +138,7 @@
<title>PO Response Performance</title>
<single>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats latest(_time) as time_last, earliest(_time) as time_first,first(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, list(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status, count as evt_count by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -183,7 +183,7 @@
<chart>
<title>Total stats on EDI response status (Chart)</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| table _time edi_ack_status edi_buyer edi_code edi_code_ack edi_cont_num edi_date edi_flag edi_requestor edi_responder edi_seller edi_sequence edi_time edi_tr_id edi_type
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
Expand All @@ -202,7 +202,7 @@
<chart>
<title>Trends on EDI response status - Visual Line Chart</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850, 997)
<query>sourcetype="edi:x12" edi_code IN (850, 997)
| table _time edi_ack_status edi_buyer edi_code edi_code_ack edi_cont_num edi_date edi_flag edi_requestor edi_responder edi_seller edi_sequence edi_time edi_tr_id edi_type
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
Expand All @@ -225,7 +225,7 @@
<chart>
<title>Visualization on error + retry trend</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats last(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status by edi_tr_id edi_code_groupby
Expand All @@ -245,8 +245,8 @@
<title>Suppliers with EDI Processing Issues</title>
<chart>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" NOT edi_code=997
[ search index=supply_chain_edi sourcetype="edi:x12" source=edi_quantumline_customer_full NOT edi_code=997
<query>sourcetype="edi:x12" NOT edi_code=997
[ search sourcetype="edi:x12" source=edi_quantumline_customer_full NOT edi_code=997
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| strcat edi_code "-" edi_ack_status edi_event_pattern_combo
Expand Down Expand Up @@ -299,7 +299,7 @@
<chart>
<title>Trends on EDI transmission success rates w/ occurrences</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| table _time edi_ack_status edi_buyer edi_code edi_code_ack edi_cont_num edi_date edi_flag edi_requestor edi_responder edi_seller edi_sequence edi_time edi_tr_id edi_type
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
Expand Down Expand Up @@ -346,7 +346,7 @@
<chart>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats latest(_time) as time_last, earliest(_time) as time_first,first(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, list(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status, count as evt_count by edi_tr_id edi_code_groupby
Expand All @@ -362,7 +362,7 @@
<chart>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats latest(_time) as time_last, earliest(_time) as time_first,first(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -401,7 +401,7 @@
</input>
<table>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| table _time edi_ack_status edi_buyer edi_code edi_code_ack edi_cont_num edi_date edi_flag edi_requestor edi_responder edi_seller edi_sequence edi_time edi_tr_id edi_type edi_name
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
Expand Down Expand Up @@ -429,7 +429,7 @@
<table>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search base="search_global_01">
<query>```index=supply_chain_edi sourcetype="edi:x12" ```
<query>
| eval edi_ack_status_combo=edi_code+"-"+edi_code_ack+"-"+edi_ack_status
| eval edi_code_groupby=if(isnull(edi_code_ack), edi_code, edi_code_ack)
| stats latest(_time) as time_last, earliest(_time) as time_first,first(_time) as _time, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, last(edi_ack_status) as edi_ack_status by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -461,4 +461,4 @@
</table>
</panel>
</row>
</form>
</form>

0 comments on commit a1b1213

Please sign in to comment.