Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "utils", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "attrValues", span: Span { start: Position { line: 5, column: 5, }, end: Position { line: 5, column: 15, }, }, }, ), Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 22, }, }, }, ), Raw( PartRaw { content: "mkEnableOption", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 19, }, }, }, ), Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 9, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 13, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 10, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 10, column: 11, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 24, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "json", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 7, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 10, }, end: Position { line: 14, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 14, column: 15, }, end: Position { line: 14, column: 22, }, }, }, ), Raw( PartRaw { content: "json", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 14, column: 28, }, end: Position { line: 14, column: 30, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 13, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 21, column: 51, }, }, }, ), ], span: Span { start: Position { line: 21, column: 42, }, end: Position { line: 21, column: 52, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.filebeat", span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 26, column: 55, }, }, }, ), ], span: Span { start: Position { line: 26, column: 41, }, end: Position { line: 26, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.filebeat7", span: Span { start: Position { line: 27, column: 38, }, end: Position { line: 27, column: 52, }, }, }, ), ], span: Span { start: Position { line: 27, column: 37, }, end: Position { line: 27, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The filebeat package to use.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 30, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 30, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 31, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputs", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 34, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Inputs specify how Filebeat locates and processes input data.\n\nThis is like `services.filebeat.settings.filebeat.inputs`,\nbut structured as an attribute set. This has the benefit\nthat multiple NixOS modules can contribute settings to a\nsingle filebeat input.\n\nAn input type can be specified multiple times by choosing a\ndifferent `` for each, but setting\n[](#opt-services.filebeat.inputs._name_.type)\nto the same value.\n\nSee .\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 48, column: 9, }, }, }, ), ], span: Span { start: Position { line: 34, column: 33, }, end: Position { line: 48, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 31, }, end: Position { line: 50, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 50, column: 37, }, end: Position { line: 50, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 51, column: 11, }, end: Position { line: 51, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "json", span: Span { start: Position { line: 51, column: 26, }, end: Position { line: 51, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 51, column: 31, }, end: Position { line: 51, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 52, column: 11, }, end: Position { line: 52, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 53, column: 13, }, end: Position { line: 53, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 53, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 15, }, end: Position { line: 54, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 22, }, end: Position { line: 54, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 54, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 55, column: 15, }, end: Position { line: 55, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "name", span: Span { start: Position { line: 55, column: 25, }, end: Position { line: 55, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 15, }, end: Position { line: 56, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 29, }, end: Position { line: 56, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 56, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The input type.\n\nLook for the value after `type:` on\nthe individual input pages linked from\n.\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 62, column: 15, }, }, }, ), ], span: Span { start: Position { line: 56, column: 39, }, end: Position { line: 62, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 29, }, end: Position { line: 63, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 64, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 50, column: 63, }, end: Position { line: 65, column: 10, }, }, }, ), span: Span { start: Position { line: 50, column: 48, }, end: Position { line: 65, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n journald.id = \"everything\"; # Only for filebeat7\n log = {\n enabled = true;\n paths = [\n \"/var/log/*.log\"\n ];\n };\n};\n", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 76, column: 9, }, }, }, ), ], span: Span { start: Position { line: 66, column: 37, }, end: Position { line: 76, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 33, column: 25, }, end: Position { line: 77, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 79, column: 17, }, end: Position { line: 79, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Filebeat modules provide a quick way to get started\nprocessing common log formats. They contain default\nconfigurations, Elasticsearch ingest pipeline definitions,\nand Kibana dashboards to help you implement and deploy a log\nmonitoring solution.\n\nThis is like `services.filebeat.settings.filebeat.modules`,\nbut structured as an attribute set. This has the benefit\nthat multiple NixOS modules can contribute settings to a\nsingle filebeat module.\n\nA module can be specified multiple times by choosing a\ndifferent `` for each, but setting\n[](#opt-services.filebeat.modules._name_.module)\nto the same value.\n\nSee .\n", span: Span { start: Position { line: 81, column: 1, }, end: Position { line: 98, column: 9, }, }, }, ), ], span: Span { start: Position { line: 80, column: 33, }, end: Position { line: 98, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 99, column: 19, }, end: Position { line: 99, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 16, }, end: Position { line: 100, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 100, column: 22, }, end: Position { line: 100, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 31, }, end: Position { line: 100, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 100, column: 37, }, end: Position { line: 100, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 101, column: 11, }, end: Position { line: 101, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "json", span: Span { start: Position { line: 101, column: 26, }, end: Position { line: 101, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 101, column: 31, }, end: Position { line: 101, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 102, column: 11, }, end: Position { line: 102, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "module", span: Span { start: Position { line: 103, column: 13, }, end: Position { line: 103, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 103, column: 22, }, end: Position { line: 103, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 104, column: 15, }, end: Position { line: 104, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 104, column: 22, }, end: Position { line: 104, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 104, column: 28, }, end: Position { line: 104, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 105, column: 15, }, end: Position { line: 105, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "name", span: Span { start: Position { line: 105, column: 25, }, end: Position { line: 105, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 106, column: 15, }, end: Position { line: 106, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 106, column: 29, }, end: Position { line: 106, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 106, column: 33, }, end: Position { line: 106, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The name of the module.\n\nLook for the value after `module:` on\nthe individual input pages linked from\n.\n", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 112, column: 15, }, }, }, ), ], span: Span { start: Position { line: 106, column: 39, }, end: Position { line: 112, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 103, column: 31, }, end: Position { line: 113, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 102, column: 21, }, end: Position { line: 114, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 100, column: 63, }, end: Position { line: 115, column: 10, }, }, }, ), span: Span { start: Position { line: 100, column: 48, }, end: Position { line: 115, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 116, column: 19, }, end: Position { line: 116, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n nginx = {\n access = {\n enabled = true;\n var.paths = [ \"/path/to/log/nginx/access.log*\" ];\n };\n error = {\n enabled = true;\n var.paths = [ \"/path/to/log/nginx/error.log*\" ];\n };\n };\n};\n", span: Span { start: Position { line: 117, column: 1, }, end: Position { line: 129, column: 9, }, }, }, ), ], span: Span { start: Position { line: 116, column: 37, }, end: Position { line: 129, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 79, column: 26, }, end: Position { line: 130, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 132, column: 18, }, end: Position { line: 132, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 133, column: 16, }, end: Position { line: 133, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 133, column: 22, }, end: Position { line: 133, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 134, column: 11, }, end: Position { line: 134, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "json", span: Span { start: Position { line: 134, column: 26, }, end: Position { line: 134, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 134, column: 31, }, end: Position { line: 134, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 136, column: 11, }, end: Position { line: 136, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "output", span: Span { start: Position { line: 138, column: 13, }, end: Position { line: 138, column: 19, }, }, }, ), Raw( PartRaw { content: "elasticsearch", span: Span { start: Position { line: 138, column: 20, }, end: Position { line: 138, column: 33, }, }, }, ), Raw( PartRaw { content: "hosts", span: Span { start: Position { line: 138, column: 34, }, end: Position { line: 138, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 138, column: 42, }, end: Position { line: 138, column: 50, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 139, column: 15, }, end: Position { line: 139, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 139, column: 27, }, end: Position { line: 139, column: 32, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 139, column: 34, }, end: Position { line: 139, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 139, column: 41, }, end: Position { line: 139, column: 44, }, }, }, ), ], }, ), span: Span { start: Position { line: 139, column: 22, }, end: Position { line: 139, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 140, column: 15, }, end: Position { line: 140, column: 22, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1:9200", span: Span { start: Position { line: 140, column: 28, }, end: Position { line: 140, column: 42, }, }, }, ), ], span: Span { start: Position { line: 140, column: 27, }, end: Position { line: 140, column: 43, }, }, }, ), ], span: Span { start: Position { line: 140, column: 25, }, end: Position { line: 140, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 141, column: 15, }, end: Position { line: 141, column: 22, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "myEShost:9200", span: Span { start: Position { line: 141, column: 28, }, end: Position { line: 141, column: 41, }, }, }, ), ], span: Span { start: Position { line: 141, column: 27, }, end: Position { line: 141, column: 42, }, }, }, ), ], span: Span { start: Position { line: 141, column: 25, }, end: Position { line: 141, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 142, column: 15, }, end: Position { line: 142, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 142, column: 29, }, end: Position { line: 142, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 142, column: 33, }, end: Position { line: 142, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The list of Elasticsearch nodes to connect to.\n\nThe events are distributed to these nodes in round\nrobin order. If one node becomes unreachable, the\nevent is automatically sent to another node. Each\nElasticsearch node can be defined as a URL or\nIP:PORT. For example:\n`http://192.15.3.2`,\n`https://es.found.io:9230` or\n`192.24.3.2:9300`. If no port is\nspecified, `9200` is used.\n", span: Span { start: Position { line: 143, column: 1, }, end: Position { line: 154, column: 15, }, }, }, ), ], span: Span { start: Position { line: 142, column: 39, }, end: Position { line: 154, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 138, column: 51, }, end: Position { line: 155, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 157, column: 13, }, end: Position { line: 157, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputs", span: Span { start: Position { line: 158, column: 15, }, end: Position { line: 158, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 158, column: 24, }, end: Position { line: 158, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 17, }, end: Position { line: 159, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 159, column: 24, }, end: Position { line: 159, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 159, column: 30, }, end: Position { line: 159, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "json", span: Span { start: Position { line: 159, column: 37, }, end: Position { line: 159, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 42, }, end: Position { line: 159, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 160, column: 17, }, end: Position { line: 160, column: 24, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 160, column: 27, }, end: Position { line: 160, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 161, column: 17, }, end: Position { line: 161, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 161, column: 28, }, end: Position { line: 161, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 162, column: 17, }, end: Position { line: 162, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 31, }, end: Position { line: 162, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 162, column: 35, }, end: Position { line: 162, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Inputs specify how Filebeat locates and processes\ninput data. Use [](#opt-services.filebeat.inputs) instead.\n\nSee .\n", span: Span { start: Position { line: 163, column: 1, }, end: Position { line: 167, column: 17, }, }, }, ), ], span: Span { start: Position { line: 162, column: 41, }, end: Position { line: 167, column: 19, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 158, column: 33, }, end: Position { line: 168, column: 16, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 169, column: 15, }, end: Position { line: 169, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 169, column: 25, }, end: Position { line: 169, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 170, column: 17, }, end: Position { line: 170, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 170, column: 24, }, end: Position { line: 170, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 170, column: 30, }, end: Position { line: 170, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "json", span: Span { start: Position { line: 170, column: 37, }, end: Position { line: 170, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 170, column: 42, }, end: Position { line: 170, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 171, column: 17, }, end: Position { line: 171, column: 24, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 171, column: 27, }, end: Position { line: 171, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 172, column: 17, }, end: Position { line: 172, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 172, column: 28, }, end: Position { line: 172, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 173, column: 17, }, end: Position { line: 173, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 173, column: 31, }, end: Position { line: 173, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 173, column: 35, }, end: Position { line: 173, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Filebeat modules provide a quick way to get started\nprocessing common log formats. They contain default\nconfigurations, Elasticsearch ingest pipeline\ndefinitions, and Kibana dashboards to help you\nimplement and deploy a log monitoring solution.\n\nUse [](#opt-services.filebeat.modules) instead.\n\nSee .\n", span: Span { start: Position { line: 174, column: 1, }, end: Position { line: 183, column: 17, }, }, }, ), ], span: Span { start: Position { line: 173, column: 41, }, end: Position { line: 183, column: 19, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 169, column: 34, }, end: Position { line: 184, column: 16, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 157, column: 24, }, end: Position { line: 185, column: 14, }, }, }, ), }, ), ], span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 186, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 133, column: 32, }, end: Position { line: 187, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 188, column: 9, }, end: Position { line: 188, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 188, column: 19, }, end: Position { line: 188, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 189, column: 19, }, end: Position { line: 189, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n settings = {\n output.elasticsearch = {\n hosts = [ \"myEShost:9200\" ];\n username = \"filebeat_internal\";\n password = { _secret = \"/var/keys/elasticsearch_password\"; };\n };\n logging.level = \"info\";\n };\n};\n", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 200, column: 9, }, }, }, ), ], span: Span { start: Position { line: 189, column: 37, }, end: Position { line: 200, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 202, column: 23, }, end: Position { line: 202, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 202, column: 27, }, end: Position { line: 202, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration for filebeat. See\n\nfor supported values.\n\nOptions containing secret data should be set to an attribute\nset containing the attribute `_secret` - a\nstring pointing to a file containing the value the option\nshould be set to. See the example to get a better picture of\nthis: in the resulting\n{file}`filebeat.yml` file, the\n`output.elasticsearch.password`\nkey will be set to the contents of the\n{file}`/var/keys/elasticsearch_password` file.\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 216, column: 9, }, }, }, ), ], span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 216, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 132, column: 27, }, end: Position { line: 217, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 218, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 219, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 221, column: 3, }, end: Position { line: 221, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 221, column: 12, }, end: Position { line: 221, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 221, column: 17, }, end: Position { line: 221, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 221, column: 21, }, end: Position { line: 221, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 223, column: 5, }, end: Position { line: 223, column: 13, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 223, column: 14, }, end: Position { line: 223, column: 22, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 223, column: 23, }, end: Position { line: 223, column: 31, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 223, column: 32, }, end: Position { line: 223, column: 40, }, }, }, ), Raw( PartRaw { content: "inputs", span: Span { start: Position { line: 223, column: 41, }, end: Position { line: 223, column: 47, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrValues", span: Span { start: Position { line: 223, column: 50, }, end: Position { line: 223, column: 60, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 223, column: 61, }, end: Position { line: 223, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "inputs", span: Span { start: Position { line: 223, column: 65, }, end: Position { line: 223, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 224, column: 5, }, end: Position { line: 224, column: 13, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 224, column: 14, }, end: Position { line: 224, column: 22, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 224, column: 23, }, end: Position { line: 224, column: 31, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 224, column: 32, }, end: Position { line: 224, column: 40, }, }, }, ), Raw( PartRaw { content: "modules", span: Span { start: Position { line: 224, column: 41, }, end: Position { line: 224, column: 48, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrValues", span: Span { start: Position { line: 224, column: 51, }, end: Position { line: 224, column: 61, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 224, column: 62, }, end: Position { line: 224, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 224, column: 66, }, end: Position { line: 224, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 226, column: 5, }, end: Position { line: 226, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 226, column: 13, }, end: Position { line: 226, column: 21, }, }, }, ), Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 226, column: 22, }, end: Position { line: 226, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 227, column: 7, }, end: Position { line: 227, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Filebeat log shipper", span: Span { start: Position { line: 227, column: 22, }, end: Position { line: 227, column: 42, }, }, }, ), ], span: Span { start: Position { line: 227, column: 21, }, end: Position { line: 227, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 228, column: 7, }, end: Position { line: 228, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 228, column: 21, }, end: Position { line: 228, column: 38, }, }, }, ), ], span: Span { start: Position { line: 228, column: 20, }, end: Position { line: 228, column: 39, }, }, }, ), ], span: Span { start: Position { line: 228, column: 18, }, end: Position { line: 228, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wants", span: Span { start: Position { line: 229, column: 7, }, end: Position { line: 229, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "elasticsearch.service", span: Span { start: Position { line: 229, column: 18, }, end: Position { line: 229, column: 39, }, }, }, ), ], span: Span { start: Position { line: 229, column: 17, }, end: Position { line: 229, column: 40, }, }, }, ), ], span: Span { start: Position { line: 229, column: 15, }, end: Position { line: 229, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 230, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "elasticsearch.service", span: Span { start: Position { line: 230, column: 18, }, end: Position { line: 230, column: 39, }, }, }, ), ], span: Span { start: Position { line: 230, column: 17, }, end: Position { line: 230, column: 40, }, }, }, ), ], span: Span { start: Position { line: 230, column: 15, }, end: Position { line: 230, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 231, column: 7, }, end: Position { line: 231, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 232, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 232, column: 24, }, end: Position { line: 232, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeShellScript", span: Span { start: Position { line: 232, column: 29, }, end: Position { line: 232, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "filebeat-exec-pre", span: Span { start: Position { line: 232, column: 47, }, end: Position { line: 232, column: 64, }, }, }, ), ], span: Span { start: Position { line: 232, column: 46, }, end: Position { line: 232, column: 65, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "set -euo pipefail\n\numask u=rwx,g=,o=\n\n", span: Span { start: Position { line: 233, column: 1, }, end: Position { line: 237, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "utils", span: Span { start: Position { line: 237, column: 13, }, end: Position { line: 237, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "genJqSecretsReplacementSnippet", span: Span { start: Position { line: 237, column: 19, }, end: Position { line: 237, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 238, column: 15, }, end: Position { line: 238, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 238, column: 19, }, end: Position { line: 238, column: 27, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/filebeat/filebeat.yml", span: Span { start: Position { line: 239, column: 16, }, end: Position { line: 239, column: 46, }, }, }, ), ], span: Span { start: Position { line: 239, column: 15, }, end: Position { line: 239, column: 47, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 233, column: 1, }, end: Position { line: 241, column: 9, }, }, }, ), ], span: Span { start: Position { line: 232, column: 66, }, end: Position { line: 241, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 242, column: 9, }, end: Position { line: 242, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 243, column: 1, }, end: Position { line: 243, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 243, column: 13, }, end: Position { line: 243, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 243, column: 17, }, end: Position { line: 243, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/filebeat -e \\\n -c \"/var/lib/filebeat/filebeat.yml\" \\\n --path.data \"/var/lib/filebeat\"\n", span: Span { start: Position { line: 243, column: 1, }, end: Position { line: 246, column: 9, }, }, }, ), ], span: Span { start: Position { line: 242, column: 21, }, end: Position { line: 246, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 247, column: 9, }, end: Position { line: 247, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 247, column: 20, }, end: Position { line: 247, column: 26, }, }, }, ), ], span: Span { start: Position { line: 247, column: 19, }, end: Position { line: 247, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 248, column: 9, }, end: Position { line: 248, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "filebeat", span: Span { start: Position { line: 248, column: 27, }, end: Position { line: 248, column: 35, }, }, }, ), ], span: Span { start: Position { line: 248, column: 26, }, end: Position { line: 248, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 231, column: 23, }, end: Position { line: 249, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 226, column: 33, }, end: Position { line: 250, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 221, column: 28, }, end: Position { line: 251, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 252, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 252, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 252, column: 2, }, }, }, )