Skip to content

types not working in multiple grok patterns #63

@hari9973

Description

@hari9973

Types are not working when i used the following config

<source>
  @type tail
  tag test1
  path /log
  pos_file /log.pos
  path_key tailed_path
  <parse>
   @type grok
   <grok>
     types type1,type2
     pattern1
   </grok>
   <grok>
     types type1,type2
     pattern2
 </parse>
</source>

I am getting the error while exposing the metrics
failed to instrument a metric. error_class=TypeError error=#<TypeError: String can't be coerced into Intege

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions