Hi Diogo,
It is possible to publish data to a secured Elasticsearch cluster.
What need to follow these steps:
1. Edit the file sentilo-agent-activity-monitor/src/main/resources/spring/monitor-context.xml and add the yellow lines:
2.
Next you just have to define additional properties in
sentilo-agent-activity-monitor/src/main/resources/properties/monitor-config.properties
:
elasticsearch.username=yourelasticuser
elasticsearch.password=yourpassword
3. Finally you just recompile the module with
mvn package appassembler:assemble
Now
you can run the agent with one of the scripts generated in sentilo-agent-activity-monitor/target/appassembler/bin.
We'll try to improve this in future releases, so it won't be necessary to recompile the module.
Best regards,
Sentilo Team