[0] "_jsonparsefailure" how do you remove this?

how do you get rid of the [0] "_jsonparsefailure?

{
                 "origin" => "some_platform",
              "ls-source" => "some_platform",
                   "port" => 1234,
                  "event" => {
        "severity" => 1
    },
               "@version" => "1",
              "breachUrl" => "",
                   "time" => 1645739629935,
                   "tags" => [
        [0] "_jsonparsefailure"
    ],
           "creationTime" => 1645739629935,
    "triggeredComponents" => [
        [0] {
            "triggeredFilters" => [
                [0] {
                           "trigger" => {
                        "value" => "Test filter value"
                    },

If it is getting added by a json filter then you can prevent that using tag_on_failure => []. To remove it you could use

mutate { remove_tag => [ "_jsonparsefailure" ] }

what would be the causation of this error? where could I look?

I have one now with _mutate_error as well, but currently doing this.

mutate { remove_tag => [ "_jsonparsefailure" ,"_mutate_error"] }

The json filter or codec will have logged "exception=>#<LogStash::Json::ParserError:" with a more specific error message in the logstash log.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.