Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions specs/elasticsearch/elasticsearch-cluster-health.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# The name of the workflow.
name: Show the Elasticsearch cluster health
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
command: |-
curl -XGET '{{schema}}://{{host}}:{{port}}/_cat/health?v={{verbose}}'
# Any tags that the workflow should be categorized with.
tags:
- elasticsearch
- curl
# A description of the workflow.
description: Inspect the Elasticsearch cluster health
# List of arguments within the command.
arguments:
# Name of the argument within the command. This must exactly match the name of the argument
# within the command (without the curly braces).
- name: schema
# The description of the argument.
description: The url schema
# The default value for the argument.
default_value: http
# within the command (without the curly braces).
- name: host
# The description of the argument.
description: The url hostname
# The default value for the argument.
default_value: localhost
# within the command (without the curly braces).
- name: port
# The description of the argument.
description: The url port
# The default value for the argument.
default_value: 9200
# within the command (without the curly braces).
- name: verbose
# The description of the argument.
description: Should the output be verbose
# The default value for the argument.
default_value: true
# The source URL for where the workflow was generated from, if any.
source_url: "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-health.html"
# The author of the workflow.
author: Olaf Klejnstrup-Jensen
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
author_url: "https://github.com/fului"
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
# See FORMAT.md for the full list of accepted values.
shells: []
51 changes: 51 additions & 0 deletions specs/elasticsearch/elasticsearch-count-index-documents.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
# The name of the workflow.
name: Count documents in an index in Elasticsearch
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
command: |-
curl -XGET '{{schema}}://{{host}}:{{port}}/_cat/count/{{index_name}}?v={{verbose}}'
# Any tags that the workflow should be categorized with.
tags:
- elasticsearch
- curl
# A description of the workflow.
description: Show the document count for an index in Elasticsearch
# List of arguments within the command.
arguments:
# Name of the argument within the command. This must exactly match the name of the argument
# within the command (without the curly braces).
- name: schema
# The description of the argument.
description: The url schema
# The default value for the argument.
default_value: http
# within the command (without the curly braces).
- name: host
# The description of the argument.
description: The url hostname
# The default value for the argument.
default_value: localhost
# within the command (without the curly braces).
- name: port
# The description of the argument.
description: The url port
# The default value for the argument.
default_value: 9200
# within the command (without the curly braces).
- name: index_name
# The description of the argument.
description: The name of the index you want the count for
- name: verbose
# The description of the argument.
description: Should the output be verbose
# The default value for the argument.
default_value: true
# The source URL for where the workflow was generated from, if any.
source_url: "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html"
# The author of the workflow.
author: Olaf Klejnstrup-Jensen
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
author_url: "https://github.com/fului"
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
# See FORMAT.md for the full list of accepted values.
shells: []
47 changes: 47 additions & 0 deletions specs/elasticsearch/elasticsearch-list-indices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# The name of the workflow.
name: List indices in Elasticsearch
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
command: |-
curl -XGET '{{schema}}://{{host}}:{{port}}/_cat/indices?v={{verbose}}&s=index'
# Any tags that the workflow should be categorized with.
tags:
- elasticsearch
- curl
# A description of the workflow.
description: This lists indices in Elasticsearch
# List of arguments within the command.
arguments:
# Name of the argument within the command. This must exactly match the name of the argument
# within the command (without the curly braces).
- name: schema
# The description of the argument.
description: The url schema
# The default value for the argument.
default_value: http
# within the command (without the curly braces).
- name: host
# The description of the argument.
description: The url hostname
# The default value for the argument.
default_value: localhost
# within the command (without the curly braces).
- name: port
# The description of the argument.
description: The url port
# The default value for the argument.
default_value: 9200
- name: verbose
# The description of the argument.
description: Should the output be verbose
# The default value for the argument.
default_value: true
# The source URL for where the workflow was generated from, if any.
source_url: "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html"
# The author of the workflow.
author: Olaf Klejnstrup-Jensen
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
author_url: "https://github.com/fului"
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
# See FORMAT.md for the full list of accepted values.
shells: []