Perform data preprocessing for anomaly detector in opensearch

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch version 2.11.1

I need to pass logs data from the server to data prepper, preprocess it and pass to opensearch index. The index will used in the detector for anomaly detection. I have the following questions:

  1. How do I install create configuration files for data prepper for installation without docker? For the configuration file, can I use ip and port for both server and opensearch host instead of path?
  2. How do I normalize the data using data prepper? How do I apply aggregate function on the time field?