Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Elasticsearch for VSCodeNew to Visual Studio Code? Get it now.
Elasticsearch for VSCode

Elasticsearch for VSCode

Bar Nuri

|
2,748 installs
| (1) | Free
Elasticsearch client like Kibana console for vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Elasticsearch for VSCode

.github/workflows/runTests.yaml .github/workflows/publish.yaml

Welcome to Elasticsearch for VSCode! An extension for developing elasticsearch queries.

shot

Using

  • Open an existing file with a .es file extenion or open a new text file (ctrl+n) and change the language mode to Elasticsearch (es) by pressing ctrl+k,m and select es. Elasticsearch queries and funtionalities are enabled in the es language mode in Visual Studio Code editor.
  • For https endpoints, just add protocol type in url : https://host
  • For auth protected clusters, you can use http://user:pass@host:9200 as the endpoint url to have it auth.

Submit requests

Simple way:

GET /my-index/_search
{
    "size":7,
    "query": {
        "match" : {
            "message" : {
                "query" : "this is a test"
            }
        }
    }
}

Get payload from file [#4]:

PUT /my-index
!./opt/elasticsearch/mapping.json

Commands

  • Elasticsearch: Set Host to create connection profile and connect.

Keymaps

  • Alt + Enter / Ctrl + Enter to execute selected query.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft