HCL SW Blogs
Select Page

In this post, we’ll see how key business metrics can be generated over a flow within HWA and then analyzed over Splunk for meaningful insights using clear, user-friendly dashboards.

MRP Dashboard

Inventory Planning Case Study:

A detailed post entitled “Case Study: Inventory Management with Workload Automation” has been already written earlier on the flow itself.


We’ll now look at the process for generating key business metrics from the flow and passing them to Splunk for visualization to provide enhanced business insights.

Here’s a brief summary of the flow:

A typical material requirements planning (MRP) flow in an enterprise context might be comprised of jobs which would execute as follows, with the goal being to come as close as possible to running a balanced plant.

  1. MRP jobs which would compute the materials requirement for each inventory item in order to process the week’s orders. In this example, we’re considering angle brackets, machine oil, polish, and MS sheets.
  2. A set of current inventory jobs which would compute the current inventory level for each inventory item: angle brackets, machine oil, polish, and MS sheets.
  3. A set of extraction jobs which would parse the job logs for these jobs and extract the inventory levels for both MRP and current inventory.
  4. A set of variable passing jobs which would pass the variables for each inventory item (in this example: angle brackets, machine oil, polish, and MS sheets) for each MRP level as well as the current inventory level.
  5. A set of comparison jobs which would compare the current inventory level with the MRP inventory level for each inventory item.
  6. If the inventory level is too low to process the current week’s orders, a procurement order is placed on a portal with all known vendors.
  7. If the inventory level is high enough to process the current week’s orders, a sales order is placed on a portal with all known vendors.

Metrics Derived:

Some key metrics are derived from the flow.

Job Stream View

Job Stream View

Inventory Turnover Ratio:

Inventory Turnover Ratio - Meaning, Formula, Calculations

Ideally a value between 2 and 4 will be set.

The metrics shown here were generated from our flow:





Sell-Through Rate:

The sell-through rate measures the amount of inventory you’ve sold in a month versus the amount of inventory shipped to you from a manufacturer. Sell-through rate is an important retail sales metric that allows you to monitor the efficiency of your supply chain.

The metrics shown here were generated from our flow:





Inventory Days:

Inventory Days | Double Entry Bookkeeping

The metrics shown here were generated from our flow:





Cost of Goods Sold:

Cost of goods sold (COGS) refers to the direct costs of producing the goods sold by a company. This amount includes the cost of materials and the labor used directly to create the good. It excludes indirect expenses, such as distribution costs and sales force costs.

The metrics below were generated from the company ERP system and retrieved through an HWA SAP job or an HWA Oracle eBusiness Suite job:





Integration with Splunk:

We can integrate Splunk readily with HWA v10.1 as we are now generating WA Merge logs in JSON format. This means we can ingest into Splunk readily, and that any additional metrics generated in job logs can be sent as a curl payload through a job as follows:

/bin/curl “” -H “Authorization: Splunk d7ced0c4-7709-4ccc-a192-e90b223fec35” –insecure -d ‘{“sourcetype”:”manual”,”event”:{


















/bin/curl “” -H “Authorization: Splunk d7ced0c4-7709-4ccc-a192-e90b223fec35” –insecure -d ‘{“sourcetype”:”manual”,”event”:{










The payload ingested into Splunk can be used to create clear, user-friendly dashboards in Splunk as shown here:

MRP Dashboard

Cogs Machine Oil

Inv days machine oil

inv days

inventory turn over ratio

turnover ratio

self through rate

cogs polish


Comment wrap
Further Reading
Filters result by