Skip to content

[parsers.influx] invalid input causes telegraf to crash #18228

@donmahallem

Description

@donmahallem

Current behavior:

Providing \\ as input passes the state machine created from the machine.go.rl definition.

which causes

metric := p.handler.Metric()
to throw as metric is nil

Expected behavior:

Should reject the line just like the inputs from the test files like cpu as is only has the measurement name

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions