Skip to content

Commit

Permalink
Merge pull request #19 from splunk/supply-chain
Browse files Browse the repository at this point in the history
Supply chain - cleanup
  • Loading branch information
cduffey-splunk authored Nov 1, 2024
2 parents 032e4db + a1b1213 commit 39f9dce
Show file tree
Hide file tree
Showing 36 changed files with 115 additions and 6,968 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -202,4 +202,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -178,7 +178,7 @@
<table>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -212,7 +212,7 @@
<chart>
<title>Total stats on EDI response status (Chart)</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -278,4 +278,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<table>
<title>RESULT ANALYSIS 01 : Trends on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -152,7 +152,7 @@
<chart>
<title>Trends on EDI response status - Visual Line Chart</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -194,7 +194,7 @@
<table>
<title>RESULT ANALYSIS 01 : Trends on EDI transmission success rates</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -237,7 +237,7 @@
<chart>
<title>Trends on EDI transmission success rates w/ occurrences</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -284,7 +284,7 @@
<table>
<title>RESULT ANALYSIS 01 : Times when response rates were below SLA.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -328,7 +328,7 @@
<chart>
<title>Trends when response rates were below SLA.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -382,4 +382,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status "Error" or "Rejected".</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -156,7 +156,7 @@
<table>
<title>RESULT ANALYSIS 02 : Stats trends on error + retry rate</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -204,7 +204,7 @@
<chart>
<title>Visualization on error + retry trend</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -254,4 +254,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -144,7 +144,7 @@
<chart>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -184,7 +184,7 @@
<table>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -224,7 +224,7 @@
<chart>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12"
<query>sourcetype="edi:x12"
| 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 @@ -271,4 +271,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" source=edi_quantumline_customer_full NOT edi_code=997
<query>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 @@ -173,8 +173,8 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<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 @@ -229,4 +229,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (860, 850, 997)
<query>sourcetype="edi:x12" edi_code IN (860, 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 Down Expand Up @@ -203,4 +203,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850, 997)
<query>sourcetype="edi:x12" edi_code IN (850, 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)
| stats last(_time) as _time, last(edi_name) as edi_name, 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, count as evt_cnt by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -162,7 +162,7 @@
<table>
<title>RESULT ANALYSIS 02 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850, 997)
<query>sourcetype="edi:x12" edi_code IN (850, 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)
| stats last(_time) as _time, last(edi_name) as edi_name, 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, count as evt_cnt by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -190,7 +190,7 @@
<table>
<title>Total stats on EDI response status (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)
| 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_name) as edi_name, 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, count as evt_cnt by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -219,7 +219,7 @@
<chart>
<title>Total stats on EDI response status (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)
| 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_name) as edi_name, 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, count as evt_cnt by edi_tr_id edi_code_groupby
Expand Down Expand Up @@ -262,7 +262,7 @@
<table>
<title>RESULT ANALYSIS 02 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850, 997) edi_tr_id=TR*
<query>sourcetype="edi:x12" edi_code IN (850, 997) edi_tr_id=TR*
| rex field=_raw max_match=100 "(?P&lt;po_item&gt;PO1\|[^\~]*)~"
| 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 @@ -321,4 +321,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850 855)
<query>sourcetype="edi:x12" edi_code IN (850 855)
| 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 @@ -172,7 +172,7 @@
<table>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850 855)
<query>sourcetype="edi:x12" edi_code IN (850 855)
| 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 @@ -213,7 +213,7 @@
<chart>
<title>Total stats on EDI response status (Chart)</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850 855)
<query>sourcetype="edi:x12" edi_code IN (850 855)
| 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 @@ -258,7 +258,7 @@
<chart>
<title>RESULT ANALYSIS 02 : Total stats on EDI response status</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850 855)
<query>sourcetype="edi:x12" edi_code IN (850 855)
| 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, earliest(_time) as time_po, latest(_time) as time_po_ack, last(edi_requestor) as edi_requestor, last(edi_responder) as edi_responder, first(edi_code) as edi_type, values(edi_code) as edi_code, dc(edi_code) as edi_code_cnt, last(edi_ack_status) as edi_ack_status by edi_tr_id
Expand Down Expand Up @@ -301,7 +301,7 @@
<table>
<title>RESULT ANALYSIS 01 : EDI Transactions with response status determined.</title>
<search>
<query>index=supply_chain_edi sourcetype="edi:x12" edi_code IN (850 855)
<query>sourcetype="edi:x12" edi_code IN (850 855)
| 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 @@ -362,4 +362,4 @@
</html>
</panel>
</row>
</dashboard>
</dashboard>
Loading

0 comments on commit 39f9dce

Please sign in to comment.