How to create if conditional statement in logstash config.yml file

Eg:

if id =1 means i need to change this into "compliance"
can u please explain how to do this?

Please explain what you are trying to achieve and what your current configuration looks like. It is not clear what you are looking for so I doubt anyone will be able to help you just based on this information. The more effort you put into properly crafting a question, the better your responses are likely to be.

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