intellij-logstash-conf-filetype
intellij-logstash-conf-filetype copied to clipboard
Syntax highlight for logstash configuration files on all JetBrain IDEs (IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm)
IntelliJ Logstash configuration highlight
Syntax highlight for logstash configuration files on all JetBrain IDEs (IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm)
Installation
Import settings (recommended)
- Download
logstash-conf.jar
- Open IntelliJ
- Click on
File
>Import Settings...
- Browse to the downloaded
jar
(tip: you can also drag & drop thejar
from your file explorer to theImport File Location
window) and clickOK
- Be sure to check
File types (schemes)
and clickOK
- Restart IntelliJ when prompted
Manual
- Download
logstash-conf.xml
- Close IntelliJ
- Copy the
xml
to<your_home_dir>\<intellij_settings_dir>\config\filetypes\
(create folderfiletypes
if it doesn't exists) - Open IntelliJ
Highlighted syntax and keywords
The filetype use IntelliJ sandard 4 colors highlight system
Color 1
Highlight basic pipeline keywords: filter
, input
, output
See 1-pipeline.md
for the full keyword list
Color 2
Highlight plugins names:
See 2-plugins-names.md
for the full keyword list
Color 3
Highlight plugins actions
See 3-codec-plugins-actions.md
, 3-filter-plugins-actions.md
, 3-input-plugins-actions.md
and 3-output-plugins-actions.md
for the full keyword list
Color 4
Highlight conditional operators
See 4-conditional.md
for the full keyword list