spl-to-apl
Skill by openclaw
Translates Splunk SPL queries into Axiom APL using command mappings, function equivalents and syntax transformations. Built for teams migrating from Splunk or learning APL equivalents of SPL patterns.
Install spl-to-apl
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openclaw/clawhub /tmp/clawhub && mkdir -p ~/.claude/skills && cp -r /tmp/clawhub/.agents/skills/spl-to-apl ~/.claude/skills/spl-to-aplRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openclaw/clawhub /tmp/clawhub && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/clawhub/.agents/skills/spl-to-apl ~/.gemini/antigravity-cli/skills/spl-to-aplAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The spl-to-apl skill translates Splunk SPL queries into Axiom APL. It gives command mappings, such as stats to summarize and eval to extend, along with function equivalents and syntax transformations. Examples cover rex, timechart, subsearches, joins and transaction-style grouping. It also covers string matching performance and casting string fields before numeric comparisons.
Written from the project's SKILL.md and checked against it.
What it can do
- Command mappingsMaps SPL commands to APL operators, such as stats to summarize and eval to extend.
- Function mappingsLists SPL functions and their APL equivalents, such as if to iff and median to percentile.
- Rex translationShows how SPL rex extractions translate to APL parse or extract syntax.
- Time handlingExplains adding explicit time ranges and converting timechart spans to summarize with bin.
- Subsearch and joinShows how SPL subsearches become let statements and how joins translate to APL join.
- Transaction-style groupingRebuilds SPL transaction logic with summarize, make_list and min or max over time.
- String matching guidanceCompares the speed of equality, contains, startswith and regex matching in APL.
Try asking
- Convert this SPL query to Axiom APL: index=logs | stats count by status
- Translate my rex extraction from Splunk into APL parse syntax
- What is the APL equivalent of SPL timechart span=5m count by status?
Good to know
- Join is a preview feature, limited to 50k rows and the inner, innerunique and leftouter kinds.
- SPL transaction has no direct APL equivalent, so grouping must be rebuilt with summarize.
- SPL time pickers do not translate, so APL queries need an explicit time range.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/spl-to-apl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to spl-to-apl
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
spl-to-apl: common questions
Can this skill convert Splunk stats and eval to Axiom APL?
Yes. The command mapping table maps stats to summarize and eval to extend.
Does Splunk transaction have an APL equivalent?
The source says there is no direct equivalent. It suggests rebuilding the grouping with summarize and make_list.
Are joins supported when converting SPL to APL?
The source describes APL join as a preview feature limited to 50k rows, with inner, innerunique and leftouter kinds.
How do I install spl-to-apl?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spl-to-apl free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is spl-to-apl safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spl-to-apl?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
