Skip to content

Custom Windows Event Logs integration painless script fails to parse winlog.user_data.Param8 #128692

@lurk-er

Description

@lurk-er

Elasticsearch Version

8.17.1

Installed Plugins

fleet

Java Version

bundled

OS Version

docker container

Problem Description

there seems to be a bug with the painless script that handles winlog.user_data.Param8.

Steps to Reproduce

Set the custom windows event logs integration to ingest logs from failover clustering logs or the windows print service. winlog.user_data.Param8 should fail to be parsed causing your data to be unsearchable.

Logs (if relevant)

org.elasticsearch.server@8.17.1/org.elasticsearch.index.fielddata.ScriptDocValues.throwIfEmpty(ScriptDocValues.java:93) org.elasticsearch.server@8.17.1/org.elasticsearch.index.fielddata.ScriptDocValues$Strings.get(ScriptDocValues.java:483) org.elasticsearch.server@8.17.1/org.elasticsearch.index.fielddata.ScriptDocValues$Strings.getValue(ScriptDocValues.java:478) emit(Integer.parseInt(doc['winlog.user_data.Param8'].value)); } ^---- HERE

if (doc.containsKey('winlog.user_data.Param8') ) { ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    >bugneeds:triageRequires assignment of a team area label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions