Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add diff value of key-type key<new key> for each pattern matched. #19

Open
johnzheng1975 opened this issue Jun 3, 2021 · 1 comment

Comments

@johnzheng1975
Copy link

johnzheng1975 commented Jun 3, 2021

In multi_format, add diff value of keytype key for each pattern matched.

<parse>
     @type multi_format
       <pattern>
           format /.*reg1.*/
          #keytype type1
       </pattern>
       <pattern>
           format /.*reg2.*/
          #keytype type2
       </pattern>
       <pattern>
           format json
           #keytype type3
       </pattern>
   </parse>

My purpose is use this for later filter/ or search/ ...

@johnzheng1975
Copy link
Author

Or at least to support diff inject_key_prefix for diff pattern. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant