Skip to content

apiVersion parsing failed #9

Description

@bangnuller
  • Version: Logstash 2.3.4
  • Operating System: CentOS
  • Config File (if you have sensitive info, please remove it):
    input {
    s3 {
    access_key_id => "XXX"
    secret_access_key => "XXX"
    region => "XXX"
    bucket => "XXX"
    prefix => "XXX"
    tags => [ "XXX" ]
    type => "cloudtrail"
    codec => "cloudtrail"
    }
    }
  • Sample Data:
  • Steps to Reproduce:

The following is a error log of logstash.
:response=>{"create"=>{"_index"=>"XXX", "_type"=>"cloudtrail", "_id"=>"XXXXX", "status"=>400, "error"=>"MapperParsingException[failed to parse [apiVersion]]; nested: MapperParsingException[failed to parse date field [2016_01_28], tried both date format [dateOptionalTime], and timestamp number with locale []]; nested: IllegalArgumentException[Invalid format: "2016_01_28" is malformed at "_01_28"]; "}}, :level=>:warn}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions