Quick Start Guide
Introduction
The XDR Data Engine is a comprehensive data processing and analysis platform for HyperSec XDR. This guide will help you get started with the core components.
System Requirements
- Python 3.11 or higher
- Poetry for dependency management
- Access to required services: * ClickHouse database * OpenSearch (optional) * AWS S3 (optional)
Installation
-
Clone the repository:
bash git clone https://github.com/your-org/xdr-data-engine.git cd xdr-data-engine2. Install dependencies:bash poetry install3. Set up environment:```bash cp .env.example .env
Edit .env with your configuration
```
Core Components
The XDR Data Engine consists of several key components:
- Schema Management * Define and manage database schemas * Handle schema updates and migrations * See Schema Quick Start for details
- Ingestion Pipelines * Process incoming data streams * Transform and enrich data * Load data into databases
- Hunt Framework * Define and execute data queries * Analyze security events * Generate alerts and reports
Basic Configuration
-
Create configuration directory:
bash mkdir -p ~/.xdr/config2. Set up targets:```bash cp xdr_targets.example.yaml ~/.xdr/config/xdr_targets.yaml
Edit with your environment details
``` 3. Configure packages:
```bash cp xdr_package.example.yaml ./xdr_package.yaml
Edit with your package configuration
```
First Steps
-
Verify installation:
bash xdrcli --version2. Check configuration:bash xdrcli check-config3. Initialize environment:bash xdrcli init
Common Workflows
Data Ingestion
-
Set up receivers:
bash xdrcli setup-receivers2. Start ingestion:bash xdrcli start-ingestion
Data Analysis
-
Run a hunt:
bash xdrcli run-hunt --hunt-name example_hunt2. View results:bash xdrcli view-results --hunt-id <hunt_id>
Next Steps
- Read Schema Management for database setup
- Check Ingestion Pipeline for data processing
- See Hunt Framework for data analysis
- Review CLI Reference for all available commands
Troubleshooting
-
Check logs:
bash tail -f ~/.xdr/logs/xdr.log2. Verify services:bash xdrcli check-services3. Common issues: * Database connection errors: Check credentials and network * Permission issues: Verify file permissions * Configuration errors: Validate YAML syntax
Getting Help
- Documentation: See XDR Documentation
- Issues: Submit through the issue tracker
- Support: Contact HyperSec support team