﻿---
title: ES|QL for security use cases
description: Use the following resources to learn about using the Elasticsearch Query Language (ES|QL) for cybersecurity use cases. Threat hunting with ES|QL: Learn...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/solutions/security/esql-for-security
products:
  - Elastic Security
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# ES|QL for security use cases
Use the following resources to learn about using the [Elasticsearch Query Language (ES|QL)](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/reference/query-languages/esql) for cybersecurity use cases.

## Tutorials

- [Threat hunting with ES|QL](https://www.elastic.co/elastic/docs-builder/docs/3028/solutions/security/esql-for-security/esql-threat-hunting-tutorial): Learn how to use ES|QL to hunt for threats in your data.


## Documentation

Learn how to:
- [Generate and understand ES|QL queries](https://www.elastic.co/elastic/docs-builder/docs/3028/solutions/security/ai/generate-customize-learn-about-esorql-queries) using the AI Assistant
- [Investigate events in Timeline](/elastic/docs-builder/docs/3028/solutions/security/investigate/timeline#esql-in-timeline) using ES|QL
- [Create detection rules](https://www.elastic.co/elastic/docs-builder/docs/3028/solutions/security/detect-and-alert/esql) using ES|QL
- [Convert Splunk SPL rules to ES|QL](https://www.elastic.co/elastic/docs-builder/docs/3028/solutions/security/get-started/automatic-migration) with Automatic Migration