Skip to content

[Winlogbeat] failed to parse field [winlog.event_data.Id] of type [keyword] when id contains . #34345

Closed
@narph

Description

Running Winlogbeat on other language OS's (in this case Spanish).

EX message

"message": "CommandInvocation(Get-Date): \"Get-Date\"\n\n\nContexto:\n Gravedad = Informational\n Nombre de host = ConsoleHost\n Versión de host = 5.1.19041.1320\n Id. de host = 56995afd-2444-424e-871c-4c5513731a3b\n Aplicación host = C:\\…

Each part \n Id. is being parsed into a field under a Id object that is prefixed with de

…\n Id. de host = 56…
…320\n Id. de espacio de ejecución = fc8f1c...\n Id. de canalización = 1\n Nombre…
…la\n Usuario conectado = \n Id. de shell = Microsoft.PowerShell\n\n\nDatos…

Becomes

                    "Id": {
                        " de host": "56995afd-2444-424e-871c-4c5513731a3b",
                        " de shell": "Microsoft.PowerShell",
                        " de espacio de ejecución": "fc8f1...",
                        " de canalización": "1"
                    },

causing

"failed to parse field [winlog.event_data.Id] of type [keyword] in document with id '0434AIABa-64rEwC2A60'.

Potential fault at line:

_, _ = h.Put(k, sys.RemoveWindowsLineEndings(kv.Value))
where id gets parsed.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions