I'm using logstash and its configuration file (documented here) looks like this:
input {
file {
path => "/some/path/to/file"
option => 1
}
}
filter {
if [var] == "string" {
action {
array_option => [ "val1", "val2", "val3" ]
object_option => {
str_option => "string"
}
}
}
}
# this is a comment
output {
stdout
}
I'm looking for a helpful emacs mode that works well with files like this. The conf-mode
does good highlighting, but I can't get it to indent properly. Any suggestions?
ruby-mode
works perfectly. Thnx. – gogators Sep 13 '15 at 18:34