{"id":32123967,"url":"https://github.com/fbaligand/vscode-logstash-editor","last_synced_at":"2026-02-23T04:32:35.223Z","repository":{"id":47753685,"uuid":"216920278","full_name":"fbaligand/vscode-logstash-editor","owner":"fbaligand","description":"Logstash Editor for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2026-01-19T08:43:08.000Z","size":963,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-19T16:42:03.850Z","etag":null,"topics":["completion","documentation","editor","hover","logstash","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=fbaligand.vscode-logstash-editor","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fbaligand.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-22T22:24:41.000Z","updated_at":"2026-01-19T08:42:25.000Z","dependencies_parsed_at":"2025-03-07T08:23:43.585Z","dependency_job_id":"7254b8d5-7faf-4dd3-a0ed-e8e6f65972d7","html_url":"https://github.com/fbaligand/vscode-logstash-editor","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/fbaligand/vscode-logstash-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbaligand%2Fvscode-logstash-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbaligand%2Fvscode-logstash-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbaligand%2Fvscode-logstash-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbaligand%2Fvscode-logstash-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbaligand","download_url":"https://codeload.github.com/fbaligand/vscode-logstash-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbaligand%2Fvscode-logstash-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["completion","documentation","editor","hover","logstash","vscode","vscode-extension"],"created_at":"2025-10-20T21:30:54.473Z","updated_at":"2026-02-23T04:32:35.213Z","avatar_url":"https://github.com/fbaligand.png","language":"TypeScript","readme":"# VSCode Logstash Editor\n\nVisual Studio Code extension that provides completion, documentation and auto-formatting for Logstash pipeline configuration files, logstash.yml, pipelines.yml, filebeat.yml and Elasticsearch index template json files.\n\n![Example](images/example.png)\n\n\n## Features\n\n- Provides completion for Logstash pipeline configuration files (sections, plugins, options), depending current cursor position.  \nFor example, if cursor is inside `grok` filter, options for `grok` filter are suggested.\n- All completion data is generated based on official Logstash documentation\n- Options for a plugin are sorted : first required options, then optional specific options, and finally optional common options\n- When you preselect an item, a link to official documentation, a short description and an example (if available) are provided\n- If you choose a completion item, a code snippet is automatically inserted with relevant content:\n  - for a plugin, inserted snippet is the plugin block and all its required options\n  - for an option, inserted snippet is based on option type (string, boolean, number, string_duration, array, hash) and option default value\n- Provides completion for if statement\n- Provides documentation when hover on a section, a plugin or an option\n- Provides document formatting and document range formatting on a Logstash pipeline configuration file\n- Provides completion for \"logstash.yml\" and \"pipelines.yml\" files\n- Provides completion for Filebeat configuration files (version 8.19)\n- Provides completion for Elasticsearch index template (and composable index template) json files\n- Provides completion for Elasticsearch component template json files\n- Provides a specific json schema for Elasticsearch index template 6.x, 7.x and 8.x\n- Elasticsearch completion is based on [elasticsearch-specification](https://github.com/elastic/elasticsearch-specification/)\n- Provides \"logstash.version\" configuration setting to choose Logstash version (for completion)\n- Provides \"Set Logstash Version\" command (shortcut: Ctrl+Shift+L) to change Logstash version setting\n- Supported Logstash versions: 6.8, 7.17, 8.14, 8.19 and latest\n- Provides \"logstash.enableDefaultVSCodeCompletion\" setting to enable default VSCode completion when the extension does not have suggestions to provide\n- Following file patterns are automatically associated to Logstash language:\n  - `*logstash.conf`\n  - `*logstash.conf.j2`\n  - `*logstash.conf.template`\n  - `logstash-*.conf`\n- Following file patterns are automatically associated to Filebeat json schema:\n  - `filebeat.yml`\n  - `filebeat-*.yml`\n  - `filebeat.config.inputs.yml`\n  - `filebeat.config.modules.yml`\n  - `filebeat*/inputs.d/*.yml`\n  - `filebeat*/modules.d/*.yml`\n- Following file patterns are automatically associated to Elasticsearch index template json schema:\n  - `*elasticsearch-template-es8x*.json`\n  - `*elasticsearch-template-es7x*.json`\n  - `*elasticsearch-template-es6x*.json`\n  - `*elasticsearch-template.json`\n  - `*index-template*.json`\n  - `*/_index_templates/*.json`\n- Following file patterns are automatically associated to Elasticsearch component template json schema:\n  - `*component-template*.json`\n  - `*/_component_templates/*.json`\n\n\n## Syntax highlighting\n\nThis extension does not provide syntax highlighting for Logstash configuration files, because this feature is already provdided by [Logstash Configuration Syntax / Language Support](https://marketplace.visualstudio.com/items?itemName=RandomChance.logstash) extension.  \nBoth extensions complement each other perfectly.\n\n\n## Troubleshooting\n\n- if completion does not work and your Visual Studio Code version is less than 1.52, upgrade your Visual Studio Code version.\n- if you don't see documentation associated to completion suggestions, type \"Ctrl + Space\" once again or click on the \"\u003e\" (or \"i\") button:\n![Example](images/troubleshooting.png)\n\n\n## Advanced tip: choose Elasticsearch index template minor version\n\nBy default, with Logstash Editor extension, Elasticsearch index template version is based on file name. And only major versions are supported (6, 7 and 8).\n\nIf you want to have completion for one specific minor version, you can do it in 2 ways:\n- you use \"$schema\" attribute in index template JSON file:\n``` json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/es-\u003cMINOR_VERSION\u003e/jsonschemas/elasticsearch-template-es\u003cMAJOR_VERSION\u003ex.schema.json\"\n}\n```\n- in Visual Studio Code settings, you associate you index template file pattern with URL to JSON schema:\n``` json\n\"json.schemas\": [\n    {\n        \"fileMatch\": [\n            \"/my-elasticsearch-index-template.json\"\n        ],\n        \"url\": \"https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/es-\u003cMINOR_VERSION\u003e/jsonschemas/elasticsearch-template-es\u003cMAJOR_VERSION\u003ex.schema.json\"\n    }\n]\n```\n\nIn both cases, you replace `\u003cMINOR_VERSION\u003e` with one of the supported minor versions: `6.8`, `7.2`, `7.5`, `7.9`, `7.12`, `7.17`, `8.14` or `8.19`.  \nIn both cases, you replace `\u003cMAJOR_VERSION\u003e` with one of the supported major versions: `6`, `7` or `8`.  \nExample URL: https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/es-8.19/jsonschemas/elasticsearch-template-es8x.schema.json\n\n\n## Advanced tip: choose Filebeat schema minor version\n\nBy default, with Logstash Editor extension, Filebeat schema version is the latest supported by the extension (`8.19`).\n\nIf you want to have completion for one specific minor version, you can do it in 2 ways:\n- you use `yaml-language-server` comment instruction in Filebeat configuration YAML file:\n``` yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.yml.schema.json\n```  \nor  \n``` yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.config.inputs.yml.schema.json\n```  \nor  \n``` yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.config.modules.yml.schema.json\n```  \n- in Visual Studio Code settings, you associate your Filebeat configuration file pattern with URL to JSON schema:\n``` json\n\"yaml.schemas\": {\n    \"https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.yml.schema.json\": \"my-filebeat.yml\",\n    \"https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.config.inputs.yml.schema.json\": \"my-filebeat-inputs.yml\",\n    \"https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-\u003cMINOR_VERSION\u003e/yamlschemas/filebeat.config.modules.yml.schema.json\": \"my-filebeat-modules.yml\"\n}\n```\n\nIn both cases, you replace `\u003cMINOR_VERSION\u003e` with one of the supported minor versions: `7.12`, `7.17`, `8.14` or `8.19`.  \nExample URL: https://raw.githubusercontent.com/fbaligand/vscode-logstash-editor/refs/tags/filebeat-8.19/yamlschemas/filebeat.yml.schema.json\n\n\n## Limitations\n\nFor now, only this format style is supported for completion in Logstash configuration files:\n``` ruby\nfilter {\n\ttcp {\n\t\tport =\u003e 12345\n\t}\n}\n```\n\nThis format style is not supported:\n``` ruby\nfilter \n{\n\ttcp \n\t{\n\t\tport =\u003e 12345\n\t}\n}\n```\n\nNeither this one:\n``` ruby\nfilter { tcp { port =\u003e 12345 } }\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbaligand%2Fvscode-logstash-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbaligand%2Fvscode-logstash-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbaligand%2Fvscode-logstash-editor/lists"}