Testing Logstash Custom Conf file with Custom File Input

Would like to have Logstash use my custom .conf file and custom input file input and generate any errors (if any) or outputs. Is there a way to do this?

Hi @ellje - To run Logstash with a specific pipeline configuration file, you can use the following command flag:

  • -f, --path.config CONFIG_PATH

For example: bin/logstash --debug -f CONFIG_PATH.

Hi @ropc, thanks for the reply! How do I use that configuration file on another file/log input?

@ellje - I am afraid I do not quite understand your question. Could you tell us more about your use case and what you are trying to achieve? Thank you.

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