You have integrated your Splunk Observability Cloud alerts with Splunk Cloud Platform or Splunk Enterprise and now need to normalize the data to ensure it adheres to the ITSI Universal Alerting schema. This ensures that the Universal Correlation Search you'll create later can create notable events in Splunk ITSI from your Splunk Observability Cloud events.
The diagram below shows the overarching architecture for the integration that's described in Managing the lifecycle of an alert: from detection to remediation. The scope for this article is surrounded by the pink box in the diagram.
- Install the Content Pack for ITSI Monitoring and Alerting.
- Review the Universal Alerting section of the Content Pack Docs.
- Go to the Search and Reporting app in Splunk Cloud Platform or Splunk Enterprise and open a search window.
- Run the following search:
index="alerts" source=o11y_alerts_webhook. Your search results should look like this:
- Access the Field Knowledge Object window in the Splunk platform user interface by clicking Settings > Fields > Calculated Fields.
- To add each eval entry, click the New Calculated Field button. The following form opens:
itsiin Destination app.
sourcein Apply to.
- Enter the first calculated field shown in the table below in the Name and Eval expression fields. Then, save the form, open a new one, and repeat for every remaining row in the table, using the same first three values in the Destination app, Apply to, and named fields.
Name Eval expression app O11yWebhook itsiDrilldownURI detectorUrl itsiInclude
You will change this field to true at the end of the process, after all the intended fields have been added and tested.
severity_id case(status="ok",2, severity="Critical", 6, severity="Major", 5, severity="Minor", 4, severity="Warning", 3, severity="Info", 1, 1=1, 1) signature spath(_raw, "eventType") src case(isnotnull('inputs.attempt_condition.key.sf_service'),'inputs.attempt_condition.key.sf_service',isnotnull('inputs.A.key.k8s.cluster.name'),"K8S Cluster: " . 'inputs.A.key.k8s.cluster.name',1=1, src) status_o11_alert status subcomponent case(isnotnull('inputs.attempt_condition.key.sf_operation'), 'inputs.attempt_condition.key.sf_httpMethod' . 'inputs.attempt_condition.key.sf_operation',isnotnull('inputs.A.key.k8s.cluster.name'), "K8S Pod: " . 'inputs.A.key.k8s.pod.name', 1=1, subcomponent) vendor_severity severity
- In Calculated Fields, click All under App and enter
o11y_alerts_webhookin the search field.
- Review the calculated fields created from the previous step:
- Go to the Search and Reporting App search window and run the following search:
- Verify the extractions were created and the values look correct.
- Finally, you need to change the value of the new field
true. Go back to Calculated Fields to do this, search "itsiInclude", click the name of the field to edit it and change the value, then click Save. If the Universal Correlation Search in Splunk ITSI is enabled, alerts from this new source will now be ingested as notable events.
Now that you’ve successfully normalized the Splunk Observability Cloud alerts into the Splunk ITSI universal alert schema, continue to the next article to Configure ITSI correlation search to create notable events.
Still having trouble? Splunk has many resources available to help get you back on track.
- Splunk Answers. Ask your question to the Splunk Community, which has provided over 50,000 user solutions to date.
- Splunk Customer Support. Contact Splunk to discuss your environment and receive customer support.
- Splunk Observability Training Courses. Comprehensive Splunk training to fully unlock the power of Splunk Observability Cloud.
Splunk OnDemand Services: Use these credit-based services for direct access to Splunk technical consultants with a variety of technical services from a pre-defined catalog. Most customers have OnDemand Services per their license support plan. Engage the ODS team at OnDemand-Inquires@splunk.
com if you require assistance.