Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ops", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 7, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "verbosityFlag", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "--log.level ", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 32, }, }, }, ), ], span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 33, }, }, }, ), operator: Addition, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 8, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 8, column: 40, }, end: Position { line: 8, column: 48, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logstashConf", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 18, }, end: Position { line: 10, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 10, column: 23, }, end: Position { line: 10, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logstash.conf", span: Span { start: Position { line: 10, column: 34, }, end: Position { line: 10, column: 47, }, }, }, ), ], span: Span { start: Position { line: 10, column: 33, }, end: Position { line: 10, column: 48, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "input {\n ", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 12, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "inputConfig", span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 12, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n}\n\nfilter {\n ", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 16, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterConfig", span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n}\n\noutput {\n ", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 20, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outputConfig", span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 20, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n}\n", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 22, column: 3, }, }, }, ), ], span: Span { start: Position { line: 10, column: 49, }, end: Position { line: 22, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logstashSettingsYml", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 24, column: 30, }, end: Position { line: 24, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logstash.yml", span: Span { start: Position { line: 24, column: 41, }, end: Position { line: 24, column: 53, }, }, }, ), ], span: Span { start: Position { line: 24, column: 40, }, end: Position { line: 24, column: 54, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 55, }, end: Position { line: 24, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraSettings", span: Span { start: Position { line: 24, column: 59, }, end: Position { line: 24, column: 72, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logstashJvmOptionsFile", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 26, column: 28, }, end: Position { line: 26, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "jvm.options", span: Span { start: Position { line: 26, column: 44, }, end: Position { line: 26, column: 55, }, }, }, ), ], span: Span { start: Position { line: 26, column: 43, }, end: Position { line: 26, column: 56, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 57, }, end: Position { line: 26, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraJvmOptions", span: Span { start: Position { line: 26, column: 61, }, end: Position { line: 26, column: 76, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logstashSettingsDir", span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 28, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 28, column: 30, }, end: Position { line: 28, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logstash-settings", span: Span { start: Position { line: 28, column: 42, }, end: Position { line: 28, column: 59, }, }, }, ), ], span: Span { start: Position { line: 28, column: 41, }, end: Position { line: 28, column: 60, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "logstashJvmOptionsFile", span: Span { start: Position { line: 29, column: 15, }, end: Position { line: 29, column: 37, }, }, }, ), ], span: Span { start: Position { line: 28, column: 62, }, end: Position { line: 29, column: 38, }, }, }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "logstashSettingsYml", span: Span { start: Position { line: 30, column: 15, }, end: Position { line: 30, column: 34, }, }, }, ), ], span: Span { start: Position { line: 28, column: 62, }, end: Position { line: 30, column: 35, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 31, column: 26, }, end: Position { line: 31, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 28, column: 61, }, end: Position { line: 32, column: 6, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out\nln -s $logstashSettingsYml $out/logstash.yml\nln -s $logstashJvmOptionsFile $out/jvm.options\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 36, column: 3, }, }, }, ), ], span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 36, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 41, column: 6, }, end: Position { line: 41, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 41, column: 31, }, end: Position { line: 41, column: 39, }, }, }, ), ], span: Span { start: Position { line: 41, column: 30, }, end: Position { line: 41, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 41, column: 42, }, end: Position { line: 41, column: 50, }, }, }, ), ], span: Span { start: Position { line: 41, column: 41, }, end: Position { line: 41, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 41, column: 53, }, end: Position { line: 41, column: 60, }, }, }, ), ], span: Span { start: Position { line: 41, column: 52, }, end: Position { line: 41, column: 61, }, }, }, ), ], span: Span { start: Position { line: 41, column: 28, }, end: Position { line: 41, column: 63, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 41, column: 67, }, end: Position { line: 41, column: 75, }, }, }, ), ], span: Span { start: Position { line: 41, column: 66, }, end: Position { line: 41, column: 76, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 41, column: 78, }, end: Position { line: 41, column: 86, }, }, }, ), ], span: Span { start: Position { line: 41, column: 77, }, end: Position { line: 41, column: 87, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 41, column: 89, }, end: Position { line: 41, column: 102, }, }, }, ), ], span: Span { start: Position { line: 41, column: 88, }, end: Position { line: 41, column: 103, }, }, }, ), ], span: Span { start: Position { line: 41, column: 64, }, end: Position { line: 41, column: 105, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 42, column: 6, }, end: Position { line: 42, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 42, column: 31, }, end: Position { line: 42, column: 39, }, }, }, ), ], span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 42, column: 42, }, end: Position { line: 42, column: 50, }, }, }, ), ], span: Span { start: Position { line: 42, column: 41, }, end: Position { line: 42, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableWeb", span: Span { start: Position { line: 42, column: 53, }, end: Position { line: 42, column: 62, }, }, }, ), ], span: Span { start: Position { line: 42, column: 52, }, end: Position { line: 42, column: 63, }, }, }, ), ], span: Span { start: Position { line: 42, column: 28, }, end: Position { line: 42, column: 65, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "The web interface was removed from logstash", span: Span { start: Position { line: 42, column: 67, }, end: Position { line: 42, column: 110, }, }, }, ), ], span: Span { start: Position { line: 42, column: 66, }, end: Position { line: 42, column: 111, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 40, column: 13, }, end: Position { line: 43, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 47, column: 3, }, end: Position { line: 47, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 13, }, }, }, ), Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 49, column: 14, }, end: Position { line: 49, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 16, }, end: Position { line: 51, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 53, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 54, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 54, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Enable logstash.", span: Span { start: Position { line: 54, column: 34, }, end: Position { line: 54, column: 50, }, }, }, ), ], span: Span { start: Position { line: 54, column: 33, }, end: Position { line: 54, column: 51, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 25, }, end: Position { line: 55, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 57, column: 17, }, end: Position { line: 57, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 59, column: 24, }, end: Position { line: 59, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.logstash", span: Span { start: Position { line: 60, column: 42, }, end: Position { line: 60, column: 55, }, }, }, ), ], span: Span { start: Position { line: 60, column: 41, }, end: Position { line: 60, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 61, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Logstash package to use.", span: Span { start: Position { line: 61, column: 34, }, end: Position { line: 61, column: 58, }, }, }, ), ], span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 61, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 57, column: 26, }, end: Position { line: 62, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "plugins", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 64, column: 17, }, end: Position { line: 64, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 16, }, end: Position { line: 65, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 65, column: 22, }, end: Position { line: 65, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 29, }, end: Position { line: 65, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 65, column: 35, }, end: Position { line: 65, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 67, column: 19, }, end: Position { line: 67, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "[ pkgs.logstash-contrib ]", span: Span { start: Position { line: 67, column: 38, }, end: Position { line: 67, column: 63, }, }, }, ), ], span: Span { start: Position { line: 67, column: 37, }, end: Position { line: 67, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 68, column: 23, }, end: Position { line: 68, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 68, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The paths to find other logstash plugins in.", span: Span { start: Position { line: 68, column: 34, }, end: Position { line: 68, column: 78, }, }, }, ), ], span: Span { start: Position { line: 68, column: 33, }, end: Position { line: 68, column: 79, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 64, column: 26, }, end: Position { line: 69, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 71, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 72, column: 16, }, end: Position { line: 72, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 72, column: 22, }, end: Position { line: 72, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/logstash", span: Span { start: Position { line: 73, column: 20, }, end: Position { line: 73, column: 37, }, }, }, ), ], span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 74, column: 23, }, end: Position { line: 74, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 74, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A path to directory writable by logstash that it uses to store data.\nPlugins will also have access to this path.\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 77, column: 9, }, }, }, ), ], span: Span { start: Position { line: 74, column: 33, }, end: Position { line: 77, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 71, column: 26, }, end: Position { line: 78, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 80, column: 18, }, end: Position { line: 80, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 81, column: 16, }, end: Position { line: 81, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 81, column: 22, }, end: Position { line: 81, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 81, column: 35, }, }, }, ), ], span: Span { start: Position { line: 81, column: 29, }, end: Position { line: 81, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "info", span: Span { start: Position { line: 81, column: 38, }, end: Position { line: 81, column: 42, }, }, }, ), ], span: Span { start: Position { line: 81, column: 37, }, end: Position { line: 81, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 81, column: 45, }, end: Position { line: 81, column: 49, }, }, }, ), ], span: Span { start: Position { line: 81, column: 44, }, end: Position { line: 81, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "error", span: Span { start: Position { line: 81, column: 52, }, end: Position { line: 81, column: 57, }, }, }, ), ], span: Span { start: Position { line: 81, column: 51, }, end: Position { line: 81, column: 58, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "fatal", span: Span { start: Position { line: 81, column: 60, }, end: Position { line: 81, column: 65, }, }, }, ), ], span: Span { start: Position { line: 81, column: 59, }, end: Position { line: 81, column: 66, }, }, }, ), ], span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 82, column: 20, }, end: Position { line: 82, column: 24, }, }, }, ), ], span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 83, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 83, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Logging verbosity level.", span: Span { start: Position { line: 83, column: 34, }, end: Position { line: 83, column: 58, }, }, }, ), ], span: Span { start: Position { line: 83, column: 33, }, end: Position { line: 83, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 84, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterWorkers", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 86, column: 23, }, end: Position { line: 86, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 87, column: 16, }, end: Position { line: 87, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 16, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 88, column: 19, }, end: Position { line: 88, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 89, column: 23, }, end: Position { line: 89, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 89, column: 27, }, end: Position { line: 89, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The quantity of filter workers to run.", span: Span { start: Position { line: 89, column: 34, }, end: Position { line: 89, column: 72, }, }, }, ), ], span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 89, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 86, column: 32, }, end: Position { line: 90, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 92, column: 23, }, end: Position { line: 92, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 93, column: 16, }, end: Position { line: 93, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 93, column: 22, }, end: Position { line: 93, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 94, column: 20, }, end: Position { line: 94, column: 29, }, }, }, ), ], span: Span { start: Position { line: 94, column: 19, }, end: Position { line: 94, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 95, column: 23, }, end: Position { line: 95, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 95, column: 27, }, end: Position { line: 95, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Address on which to start webserver.", span: Span { start: Position { line: 95, column: 34, }, end: Position { line: 95, column: 70, }, }, }, ), ], span: Span { start: Position { line: 95, column: 33, }, end: Position { line: 95, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 92, column: 32, }, end: Position { line: 96, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 98, column: 7, }, end: Position { line: 98, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 98, column: 14, }, end: Position { line: 98, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 99, column: 16, }, end: Position { line: 99, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 99, column: 22, }, end: Position { line: 99, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "9292", span: Span { start: Position { line: 100, column: 20, }, end: Position { line: 100, column: 24, }, }, }, ), ], span: Span { start: Position { line: 100, column: 19, }, end: Position { line: 100, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 101, column: 23, }, end: Position { line: 101, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 101, column: 27, }, end: Position { line: 101, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Port on which to start webserver.", span: Span { start: Position { line: 101, column: 34, }, end: Position { line: 101, column: 67, }, }, }, ), ], span: Span { start: Position { line: 101, column: 33, }, end: Position { line: 101, column: 68, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 98, column: 23, }, end: Position { line: 102, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputConfig", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 104, column: 21, }, end: Position { line: 104, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 105, column: 16, }, end: Position { line: 105, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 105, column: 22, }, end: Position { line: 105, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 106, column: 9, }, end: Position { line: 106, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "generator { }", span: Span { start: Position { line: 106, column: 20, }, end: Position { line: 106, column: 33, }, }, }, ), ], span: Span { start: Position { line: 106, column: 19, }, end: Position { line: 106, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 107, column: 9, }, end: Position { line: 107, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 107, column: 23, }, end: Position { line: 107, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 107, column: 27, }, end: Position { line: 107, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Logstash input configuration.", span: Span { start: Position { line: 107, column: 34, }, end: Position { line: 107, column: 63, }, }, }, ), ], span: Span { start: Position { line: 107, column: 33, }, end: Position { line: 107, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 108, column: 19, }, end: Position { line: 108, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 109, column: 11, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 109, column: 14, }, }, }, ), Raw( PartRaw { content: "\n # Read from journal\n pipe {\n command => \"", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 112, column: 27, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 112, column: 30, }, }, }, ), Raw( PartRaw { content: "{config.systemd.package}/bin/journalctl -f -o json\"\n type => \"syslog\" codec => json {}\n }\n", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 115, column: 11, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 115, column: 14, }, }, }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 116, column: 9, }, }, }, ), ], span: Span { start: Position { line: 108, column: 37, }, end: Position { line: 116, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 104, column: 30, }, end: Position { line: 117, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterConfig", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 119, column: 22, }, end: Position { line: 119, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 120, column: 16, }, end: Position { line: 120, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 121, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 122, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 122, column: 27, }, end: Position { line: 122, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logstash filter configuration.", span: Span { start: Position { line: 122, column: 34, }, end: Position { line: 122, column: 64, }, }, }, ), ], span: Span { start: Position { line: 122, column: 33, }, end: Position { line: 122, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [type] == \"syslog\" {\n # Keep only relevant systemd fields\n # http://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html\n prune {\n whitelist_names => [\n \"type\", \"@timestamp\", \"@version\",\n \"MESSAGE\", \"PRIORITY\", \"SYSLOG_FACILITY\"\n ]\n }\n}\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 134, column: 9, }, }, }, ), ], span: Span { start: Position { line: 123, column: 19, }, end: Position { line: 134, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 119, column: 31, }, end: Position { line: 135, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputConfig", span: Span { start: Position { line: 137, column: 7, }, end: Position { line: 137, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 137, column: 22, }, end: Position { line: 137, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 138, column: 16, }, end: Position { line: 138, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 138, column: 22, }, end: Position { line: 138, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 139, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "stdout { codec => rubydebug }", span: Span { start: Position { line: 139, column: 20, }, end: Position { line: 139, column: 49, }, }, }, ), ], span: Span { start: Position { line: 139, column: 19, }, end: Position { line: 139, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 140, column: 23, }, end: Position { line: 140, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 140, column: 27, }, end: Position { line: 140, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Logstash output configuration.", span: Span { start: Position { line: 140, column: 34, }, end: Position { line: 140, column: 64, }, }, }, ), ], span: Span { start: Position { line: 140, column: 33, }, end: Position { line: 140, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "redis { host => [\"localhost\"] data_type => \"list\" key => \"logstash\" codec => json }\nelasticsearch { }\n", span: Span { start: Position { line: 142, column: 1, }, end: Position { line: 144, column: 9, }, }, }, ), ], span: Span { start: Position { line: 141, column: 19, }, end: Position { line: 144, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 137, column: 31, }, end: Position { line: 145, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraSettings", span: Span { start: Position { line: 147, column: 7, }, end: Position { line: 147, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 147, column: 23, }, end: Position { line: 147, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 148, column: 9, }, end: Position { line: 148, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 148, column: 16, }, end: Position { line: 148, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 148, column: 22, }, end: Position { line: 148, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 149, column: 19, }, end: Position { line: 149, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 150, column: 27, }, end: Position { line: 150, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra Logstash settings in YAML format.", span: Span { start: Position { line: 150, column: 34, }, end: Position { line: 150, column: 73, }, }, }, ), ], span: Span { start: Position { line: 150, column: 33, }, end: Position { line: 150, column: 74, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 151, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "pipeline:\n batch:\n size: 125\n delay: 5\n", span: Span { start: Position { line: 152, column: 1, }, end: Position { line: 156, column: 9, }, }, }, ), ], span: Span { start: Position { line: 151, column: 19, }, end: Position { line: 156, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 147, column: 32, }, end: Position { line: 157, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraJvmOptions", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 159, column: 25, }, end: Position { line: 159, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 160, column: 16, }, end: Position { line: 160, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 160, column: 22, }, end: Position { line: 160, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 161, column: 19, }, end: Position { line: 161, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 23, }, end: Position { line: 162, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 162, column: 27, }, end: Position { line: 162, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra JVM options, one per line (jvm.options format).", span: Span { start: Position { line: 162, column: 34, }, end: Position { line: 162, column: 87, }, }, }, ), ], span: Span { start: Position { line: 162, column: 33, }, end: Position { line: 162, column: 88, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "-Xms2g\n-Xmx2g\n", span: Span { start: Position { line: 164, column: 1, }, end: Position { line: 166, column: 9, }, }, }, ), ], span: Span { start: Position { line: 163, column: 19, }, end: Position { line: 166, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 159, column: 34, }, end: Position { line: 167, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 169, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 47, column: 13, }, end: Position { line: 170, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 175, column: 3, }, end: Position { line: 175, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 175, column: 12, }, end: Position { line: 175, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 175, column: 17, }, end: Position { line: 175, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 175, column: 21, }, end: Position { line: 175, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 176, column: 5, }, end: Position { line: 176, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 176, column: 13, }, end: Position { line: 176, column: 21, }, }, }, ), Raw( PartRaw { content: "logstash", span: Span { start: Position { line: 176, column: 22, }, end: Position { line: 176, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 177, column: 7, }, end: Position { line: 177, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Logstash Daemon", span: Span { start: Position { line: 177, column: 22, }, end: Position { line: 177, column: 37, }, }, }, ), ], span: Span { start: Position { line: 177, column: 21, }, end: Position { line: 177, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 178, column: 7, }, end: Position { line: 178, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 178, column: 21, }, end: Position { line: 178, column: 38, }, }, }, ), ], span: Span { start: Position { line: 178, column: 20, }, end: Position { line: 178, column: 39, }, }, }, ), ], span: Span { start: Position { line: 178, column: 18, }, end: Position { line: 178, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 179, column: 16, }, end: Position { line: 179, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 179, column: 21, }, end: Position { line: 179, column: 25, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 179, column: 14, }, end: Position { line: 179, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 21, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 181, column: 28, }, end: Position { line: 181, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 181, column: 33, }, end: Position { line: 181, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mkdir -p \"", span: Span { start: Position { line: 181, column: 26, }, end: Position { line: 181, column: 58, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 60, }, end: Position { line: 181, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 181, column: 64, }, end: Position { line: 181, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" ; ", span: Span { start: Position { line: 181, column: 26, }, end: Position { line: 181, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 181, column: 78, }, end: Position { line: 181, column: 82, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 181, column: 83, }, end: Position { line: 181, column: 92, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/chmod 700 \"", span: Span { start: Position { line: 181, column: 26, }, end: Position { line: 181, column: 109, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 111, }, end: Position { line: 181, column: 114, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 181, column: 115, }, end: Position { line: 181, column: 122, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 181, column: 26, }, end: Position { line: 181, column: 124, }, }, }, ), ], span: Span { start: Position { line: 181, column: 24, }, end: Position { line: 181, column: 126, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 182, column: 21, }, end: Position { line: 182, column: 37, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 182, column: 39, }, end: Position { line: 182, column: 40, }, }, }, ), ], span: Span { start: Position { line: 182, column: 38, }, end: Position { line: 182, column: 41, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 182, column: 43, }, end: Position { line: 182, column: 49, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "s", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringLength", span: Span { start: Position { line: 182, column: 54, }, end: Position { line: 182, column: 66, }, }, }, ), arguments: [ Identifier( Identifier { id: "s", span: Span { start: Position { line: 182, column: 67, }, end: Position { line: 182, column: 68, }, }, }, ), ], }, ), operator: NotEqualTo, right: Integer( Integer { value: "0", span: Span { start: Position { line: 182, column: 72, }, end: Position { line: 182, column: 73, }, }, }, ), }, ), span: Span { start: Position { line: 182, column: 51, }, end: Position { line: 182, column: 73, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 183, column: 14, }, end: Position { line: 183, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 183, column: 18, }, end: Position { line: 183, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/logstash", span: Span { start: Position { line: 183, column: 12, }, end: Position { line: 183, column: 39, }, }, }, ), ], span: Span { start: Position { line: 183, column: 11, }, end: Position { line: 183, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-w ", span: Span { start: Position { line: 184, column: 12, }, end: Position { line: 184, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 184, column: 17, }, end: Position { line: 184, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 184, column: 26, }, end: Position { line: 184, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterWorkers", span: Span { start: Position { line: 184, column: 30, }, end: Position { line: 184, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 184, column: 11, }, end: Position { line: 184, column: 45, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 185, column: 12, }, end: Position { line: 185, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 185, column: 33, }, end: Position { line: 185, column: 34, }, }, }, ), ], span: Span { start: Position { line: 185, column: 32, }, end: Position { line: 185, column: 35, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "--path.plugins ", span: Span { start: Position { line: 185, column: 41, }, end: Position { line: 185, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 185, column: 58, }, end: Position { line: 185, column: 59, }, }, }, ), }, ), ], span: Span { start: Position { line: 185, column: 40, }, end: Position { line: 185, column: 61, }, }, }, ), span: Span { start: Position { line: 185, column: 37, }, end: Position { line: 185, column: 61, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 185, column: 63, }, end: Position { line: 185, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "plugins", span: Span { start: Position { line: 185, column: 67, }, end: Position { line: 185, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "verbosityFlag", span: Span { start: Position { line: 186, column: 14, }, end: Position { line: 186, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 186, column: 11, }, end: Position { line: 186, column: 29, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-f ", span: Span { start: Position { line: 187, column: 12, }, end: Position { line: 187, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "logstashConf", span: Span { start: Position { line: 187, column: 17, }, end: Position { line: 187, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 187, column: 11, }, end: Position { line: 187, column: 31, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--path.settings ", span: Span { start: Position { line: 188, column: 12, }, end: Position { line: 188, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "logstashSettingsDir", span: Span { start: Position { line: 188, column: 30, }, end: Position { line: 188, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 188, column: 11, }, end: Position { line: 188, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--path.data ", span: Span { start: Position { line: 189, column: 12, }, end: Position { line: 189, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 189, column: 26, }, end: Position { line: 189, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 189, column: 30, }, end: Position { line: 189, column: 37, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 189, column: 11, }, end: Position { line: 189, column: 39, }, }, }, ), ], span: Span { start: Position { line: 182, column: 75, }, end: Position { line: 190, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 23, }, end: Position { line: 191, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 176, column: 33, }, end: Position { line: 192, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 175, column: 28, }, end: Position { line: 193, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 194, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 194, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 194, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 194, column: 2, }, }, }, )