Syntax highlight for logstash configuration files on all JetBrain IDEs (IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm)
- 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
- 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
The filetype use IntelliJ sandard 4 colors highlight system
Highlight basic pipeline keywords: filter
, input
, output
See 1-pipeline.md
for the full keyword list
Highlight plugins names:
See 2-plugins-names.md
for the full keyword list
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
Highlight conditional operators
See 4-conditional.md
for the full keyword list