Getting Data In

Converting JSON results to DataModel structure

fabioportes
Explorer

Hello, Splunkers!

I have a REST query resultset and would like to kind of "convert" it to a DataSet structure to automatically create a DataModel that fits perfectly my homemade application logs.
Does anyone know how I can do this?

Thank you!

0 Karma

starcher
SplunkTrust
SplunkTrust

I would suggest using the JSON of the existing data models from the common information model app as a guide.

This link mentions where and what each .json file is called.
http://docs.splunk.com/Documentation/CIM/4.7.0/User/Overview

fabioportes
Explorer

Thank you for spending some time helping users.
Actually, it is related to a form filled by users, not related to technology products, like CIM seems to cover.

0 Karma

starcher
SplunkTrust
SplunkTrust

It doesn't have to be CIM. The Json files show how they are structured. I would use them as a guide for your own model.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...