22. Current Indexing strategy
• filebeat-*, metricbeat-*
• Beats load all the assets
‒ Index Template
‒ ILM Policy
23. Problems with the current strategy
• Too many fields
• ILM only for logs or metrics
• Query always on all data
• Bootstrapping tricky
• User modifications break things
24. New Indexing Strategy
• {type}-{dataset}-{namespace}
• type: generic type of data (logs, metrics, traces, ...)
• dataset: Set of data with the same structure / mapping (nginx.access)
• namespace: Use configurable namespace (prod, testing)
• Example: logs-nginx.access-default
• Default: logs-generic-default
25. Indexing Strategy: Bootstrapping and Templates
• Generic templates
‒ logs-*-*, metrics-*-*
‒ ECS Based
‒ Loaded by Elasticsearch
• Dataset specific templates
‒ logs-nginx.access-*
‒ Ingest pipeline attached to index
‒ Loaded by Ingest Manager
26. Indexing Strategy: Elasticsearch Features
• Problem: Could not be built on the existing Elasticsearch features
• New features
‒ constant_keywords
‒ component templates
‒ Data streams
• More details on these in a separate talk
37. Packages
• Contains assets and configs for the Elastic Stack
• Package manager knows how to install, upgrade, remove each asset
• Delivered as .tar.gz file
• Logs, metrics together in one package
38. Package Structure: Supported Assets
Today
• Elasticsearch
‒ Index Template v2
‒ ILM Policy
‒ Ingest Pipeline
• Kibana
‒ Dashboard
‒ Visualization, Map
‒ Search
‒ Index Pattern
• Agent
‒ Stream Template
Future
• Elasticsearch
‒ ML Job
‒ Data
• Kibana
‒ Alert
‒ Action
‒ Canvas Template
‒ SIEM rules
Note: Any asset type in the Stack
can be added to this list
44. FAQ
• How can I start using this?
‒ Start 7.8 Cloud cluster with xpack.ingestManager.enabled: true
‒ Download 7.8 Elastic Agent
‒ Soon: Run 7.9
• Do you have an API?
‒ Yes, it is all API based
• Indexing strategy
‒ Can I use it also without agent? Yes