Logs is a module for store/search/update multiple data from another modules.
- Java 1.8+
- J2EE Servlet Container (Tomcat 7+)
- Elastic Search (5.0+)
- Kibana (5.0+) (Optional)
- Java IDE (eclipse)
- Piwik
1. Open elasticsearch.yml
and change cluster.name
, network.host
and http.port
.
2. Set path.data
and path.logs
(optional)
- Set
elasticsearch.url
to elastic search ip (localhost)
1. Open piwik and get token_auth
by the API
1. Open each file in src/main/webapp/dist/yaml_files
and change host
and basePath, schemes
if you want
In the root of this project you can find a SF_Configuration.pdf
file explaining how to create the JSON file use to create the questions for the Session Feedback modal at the end of each service. We are in the process of updating the Swagger file with the new endpoints and its structure, but in the meantime there is the SF_Configuration.pdf
file.
The goal is to create one JSON for each service in each language.
1. Open simpatico.properties
and set ip, port
and clustername
2. Set piwik.api_url
and piwik.auth_token
If you use a proxy server (i.e Nginx), set proxy_set_header X-Real-IP $remote_addr;
in each Logs project location to be able to access to real ip client and the whitelist ip filter works fine.
- Export java project like war file
- Run elastic search
- Deploy war file into Tomcat webapps folder