Giter VIP home page Giter VIP logo

vscode-elastic's Introduction

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.

Roadmap

  • Work with multi host
  • User Authentication
  • IntelliSense like kibana autocomplete

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.