Job Scheduling Service
Overview
The SAP Job Scheduling service facilitates the definition and management of jobs that can be configured to run either once or on a recurring schedule. This runtime-agnostic service is designed for scheduling action endpoints in applications or managing long-running processes through Cloud Foundry tasks. It provides REST APIs for scheduling jobs, including the asynchronous handling of long-running jobs.
The PowerConnect Cloud agent collects the job statuses, errors, runtime information and scheduling data.
Data Collected
Job schedules
Job runtime information
Job status
Job errors
APIs Used
Status
Generally Available
Configuration
Get API User details
PowerConnect Cloud requires access to the SAP Job Scheduling Service API to be able to extract job scheduling data. The most secure way to do this is add PowerConnect Cloud as an OAuth client to your SAP BTP tenancy. To do this follow the steps below for your environment:
Login to the SAP BTP Cockpit
Under Services → Instances and Subscriptions find your Job Scheduling Service in the table and click binding in the Credentials column
Note down the following values:
url
clientid
clientsecret
identityzone
uaadomain
Â
Adding the Job Scheduling Input to PowerConnect Cloud
Login to the PowerConnect Cloud web UI
Click on the Inputs link in the menu bar
Click the + button to add a new Input
Choose scheduled-jobs under CF Platform
Â
Fill in the details on the form using the API authentication values (see configuration table below) from the step above
Fill in the System ID (this maps to the source field in Splunk)
Choose the Splunk output you wish to send the Scheduled Job data to
Click Save
The Input is now created
Â
Configuration Options
Configuration | Description | Required | Default Value | Comments |
---|---|---|---|---|
How frequently to poll for new data in seconds | How often the input will check for new report files | True | 60 seconds | Â |
Unique Identifier for the Input | A unique ID for the input | True | Â | Spaces are not allowed |
Friendly name for the Input | Friendly name for the input | True | Â | Â |
System ID | System ID (or SID) of the system. The value of this field will be mapped to the source field in Splunk and is used in dashboards for grouping related system events | True | Â | Â |
Lag in Seconds | How far behind the input will lag in seconds | True | 60 | This setting is to deal with SAP APIs that sometimes lag behind under high load |
Enable Data Collection | Enable / Disable the Input | True | True | Â |
SAP Job Scheduling API URL | URL of the Job Scheduling Service API. | True | Â | url field |
Authentication domain | Authentication domain | True | Â | uaadomain field |
Identity zone | Identity zone | True | Â | identityzone field |
Client Id | Client Id of the job scheduler service API user | True | Â | clientid field |
Client Secret | Client Secret (password) of the job scheduler service API user | True | Â | clientsecret field |
Page Size | Number of records to return in a single API call | False | 100 | Â |