home / skills / jeremylongshore / claude-code-plugins-plus-skills / elasticsearch-index-manager

elasticsearch-index-manager skill

/skills/02-devops-advanced/elasticsearch-index-manager

This skill provides automated guidance for elasticsearch index manager tasks, delivering production-ready configurations and best-practice validation for

npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill elasticsearch-index-manager

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.2 KB
---
name: "elasticsearch-index-manager"
description: |
  Manage elasticsearch index manager operations. Auto-activating skill for DevOps Advanced.
  Triggers on: elasticsearch index manager, elasticsearch index manager
  Part of the DevOps Advanced skill category. Use when working with elasticsearch index manager functionality. Trigger with phrases like "elasticsearch index manager", "elasticsearch manager", "elasticsearch".
allowed-tools: "Read, Write, Edit, Bash(cmd:*), Grep"
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---

# Elasticsearch Index Manager

## Overview

This skill provides automated assistance for elasticsearch index manager tasks within the DevOps Advanced domain.

## When to Use

This skill activates automatically when you:
- Mention "elasticsearch index manager" in your request
- Ask about elasticsearch index manager patterns or best practices
- Need help with advanced devops skills covering kubernetes, terraform, advanced ci/cd, monitoring, and infrastructure as code.

## Instructions

1. Provides step-by-step guidance for elasticsearch index manager
2. Follows industry best practices and patterns
3. Generates production-ready code and configurations
4. Validates outputs against common standards

## Examples

**Example: Basic Usage**
Request: "Help me with elasticsearch index manager"
Result: Provides step-by-step guidance and generates appropriate configurations


## Prerequisites

- Relevant development environment configured
- Access to necessary tools and services
- Basic understanding of devops advanced concepts


## Output

- Generated configurations and code
- Best practice recommendations
- Validation results


## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| Configuration invalid | Missing required fields | Check documentation for required parameters |
| Tool not found | Dependency not installed | Install required tools per prerequisites |
| Permission denied | Insufficient access | Verify credentials and permissions |


## Resources

- Official documentation for related tools
- Best practices guides
- Community examples and tutorials

## Related Skills

Part of the **DevOps Advanced** skill category.
Tags: kubernetes, terraform, helm, monitoring, iac

Overview

This skill automates common Elasticsearch index manager operations for DevOps teams. It provides step-by-step guidance, generates production-ready index configurations and maintenance scripts, and highlights validation checks. Use it to standardize index lifecycle actions and integrate index tasks into CI/CD and IaC workflows.

How this skill works

The skill inspects requested index management tasks (creation, templates, mappings, lifecycle policies, rollover, deletion, and snapshots) and produces concrete configuration files, API calls, or automation scripts. It follows industry patterns, validates outputs against common Elasticsearch standards, and suggests deployment steps for Kubernetes, Terraform, or CI/CD pipelines. When needed, it includes error handling advice and remediation steps for common failures.

When to use it

  • Creating or updating index templates, mappings, or ILM policies
  • Designing rollover, retention, and snapshot strategies for production data
  • Integrating index operations into CI/CD pipelines or Terraform/Helm deployments
  • Troubleshooting index-related errors like mapping conflicts or permission issues
  • Preparing migration plans for reindexing or version upgrades

Best practices

  • Define index templates and mappings centrally and version them in source control
  • Use ILM policies and rollover to manage index size and retention predictably
  • Validate mappings and templates in a staging cluster before production rollout
  • Automate snapshots and test restores regularly to ensure recoverability
  • Grant least-privilege roles for index management and audit changes

Example use cases

  • Generate an index template and ILM policy for time-series logs with rollover at 50GB
  • Create a Terraform module snippet that provisions index templates and policies during cluster deployment
  • Produce a CI job that validates mapping changes and performs a blue-green reindex
  • Diagnose mapping conflict errors and output a migration plan with reindex steps
  • Create automated snapshot schedule and a restore verification script

FAQ

Can this skill create production-ready ILM and rollover policies?

Yes. It generates ILM policies and rollover configurations tailored to your retention and sizing goals, and suggests validation and deployment steps.

Does it handle migrations and reindexing safely?

It produces safe migration plans, including reindex APIs, aliases, and verification steps, and recommends staging validation before production execution.