Creating Data Models Flashcards
What are data models
Data models are knowledge objects that apply structure to raw data making it easier to use.
What types of datasets can data models contain?
- Events
- Searches
- Transactions
What is an event dataset?
A dataset that contains a search.
What is a search dataset?
A dataset that contains a pipe to a transforming command.
What is a transaction dataset?
A dataset that contains a transaction command.
What does each dataset contain?
- Constraints (the search broken down into a hierarchy)
- Fields (associated with the events that are returned by that search)
What do child datasets inherit from their parent?
Constraints and Fields.
What is the relationship between data models and pivots?
Data models provide the data structure that drives pivots.
What are some restrictions when creating an accelerated persistent data model?
- An admin user or the “accelerate_datamodel” privilege is required.
- Private data models cannot be accelerated.
- Accelerated data models cannot be edited.
- Persistent acceleration requires searches that only use streaming commands.
What is the syntax for searching a data model?
|datamodel [<data>] [<dataset>] [<data>] [strict_fields=<bool>] [allow_old_summaries=<bool>] [summariesonly=<bool>]</bool></bool></bool></data></dataset></data>
What are the required arguments for searching a data model?
There are no required arguments for searching a data model.
What are the data model search mode options?
- search (returns the search results exactly how they are defined)
- flat (returns the same results as search except that it strips the hierarchical information from the field names).
- accleration_search (Runs the search that the search head uses to accelerate the data model. Only works on root event datasets and root search datasets that only use streaming commands).