Reporting

When should a data model be created. What is the criteria for doing so?

kamal_jagga
Contributor

Hi,

When should a data model be created. What is the criteria for doing so ?

I am running the following search almost 15 times in different panels in the same dashboard with just difference of the search group.

Should i create a data model for this?

If yes, how and what should be the the objects and other constraints of the datamodel.

Search:

index=cricket_idx |rex field=_raw max_match=0 "\{\d.\d\,(?P<SERVICE>.*?)\,(?:\{|\})"
|stats count by SERVICE 
|rex field=SERVICE "(?P<SERVICE_NAME>.*?)\,.*?(?P<STATUS>F|SE)\,(?P<RESPONSE>\d+)" 
|eval Failed=if(STATUS!="S",count,0) |stats  avg(RESPONSE) by SERVICE_NAME
Tags (1)
0 Karma

stephanefotso
Motivator

Hello! You will find all you need here: http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Aboutdatamodels
Thanks

SGF

kamal_jagga
Contributor

Thanks for the reply.

I have read that document already but its not quite clear (sorry i am newbie).

Would you be able to explain the above things in maybe 2 lines each in simple language.

Thanks

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...