# Translate SPL to APL skill





The Translate SPL to APL skill helps AI agents translate Splunk queries to Axiom:

* **Command mappings**: Complete translation of SPL commands to APL operators
* **Function equivalents**: Mapping of SPL functions to APL functions
* **Syntax transformations**: Handle differences in time handling, field escaping, and query structure
* **Common patterns**: Ready-to-use translations for frequent query patterns
* **Performance tips**: Guidance on writing efficient APL queries

<Prerequisites />

<SkillsCredentials />

## Use Translate SPL to APL skill [#use-translate-spl-to-apl-skill]

The Translate SPL to APL skill activates automatically when you ask your AI agent to:

* Translate SPL queries to APL
* Migrate Splunk queries to APL
* Find APL equivalents of SPL commands
* Convert Splunk dashboards or saved searches

Example prompts:

* "Convert this SPL query to APL: `index=logs | stats count by host`"
* "What's the APL equivalent of `timechart span=5m count by status`?"
* "Translate this Splunk search to APL"
* "How to write `eval` statements in APL?"
