Skip to content
onteon logo



For logs gathering Onteon uses Sonario. It is an optional tool for gathering metrics about the environment and collecting logs.

  • Click here to read how to install Sonario.
  • Click here to read how to install Onteon Control Center with monitoring enabled.
  • Click here to read how to install Onteon Node Manager with monitoring enabled.

Docker applications

If you properly installed your Node Manager (here you can read how to install Node Manager with monitoring), Onteon will automatically gather logs from Docker containers and then send it to Sonario, where logs can be viewed.

Native applications

If you want to gather logs from native applications, your application needs to write logs to proper directory in proper format.

All logs must be located in directory that is available under the '${ont_app_logs_path}' placeholder. You can provide this placeholder in the configuration e.g.:

  name: 'onteon-demo-app-cookbook-native'
  version: '1.2.0'
  appType: 'standard'
  procType: 'native'
    name: 'JVMOsProcessProviderImpl'
    version: '1.0.0'
        path: '${ont_app_path}/bin'
        startJvmCommand: 'java -jar -Dlog.dir=${ont_app_logs_path} -Dserver.servlet.session.cookie.path=/_by_name/onteon-demo-app-cookbook-native/cookbook -Dserver.port=${ont_port_1}'
        successLine: 'Spring Boot properly started'
        executableFileName: 'app.war'
    name: 'PlaceHolderManagerImpl'
    version: '1.0.0'
    healthCheckUrl: 'http://${address}:${ont_port_1}/cookbook/'
      - entity:
          priority: 1
          port: ${ont_port_1}
            type: 'HTTP'
            version: '1.1'
          isExternal: true
          isInternal: true

You can also store logs in subdirectories.

The second condition is that your log files must end with '*.json' extension.

The last condition is that your logs must be in json format, with obligatory '@timestamp' field, e.q.:

{"level":"INFO","message":"Will secure any request with [,,, org.springframework.web.filter.CorsFilter@ad9e63e,,,,,,,,]","context":"default","@timestamp":"1647507283691","logger_name":"","thread_name":"main"}
{"level":"INFO","message":"Adding welcome page: ServletContext resource [/index.html]","context":"default","@timestamp":"1647507283962","logger_name":"org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping","thread_name":"main"}
{"level":"INFO","message":"Tomcat started on port(s): 10000 (http) with context path '/cookbook'","context":"default","@timestamp":"1647507284144","logger_name":"org.springframework.boot.web.embedded.tomcat.TomcatWebServer","thread_name":"main"}
{"level":"INFO","message":"Started OnteonDemoAppCookbookApplication in 8.528 seconds (JVM running for 9.048)","context":"default","@timestamp":"1647507284154","logger_name":"tech.onteon.demoapp.microservice.onteondemoappcookbook.OnteonDemoAppCookbookApplication","thread_name":"main"}
{"level":"INFO","message":"Spring Boot properly started","context":"default","@timestamp":"1647507284157","logger_name":"tech.onteon.demoapp.microservice.onteondemoappcookbook.configuration.WebMvcConfiguration","thread_name":"main"}
{"level":"INFO","message":"Initializing Spring DispatcherServlet 'dispatcherServlet'","context":"default","@timestamp":"1647507286059","logger_name":"org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cookbook]","thread_name":"http-nio-10000-exec-1"}
{"level":"INFO","message":"Initializing Servlet 'dispatcherServlet'","context":"default","@timestamp":"1647507286060","logger_name":"org.springframework.web.servlet.DispatcherServlet","thread_name":"http-nio-10000-exec-1"}
{"level":"INFO","message":"Completed initialization in 2 ms","context":"default","@timestamp":"1647507286062","logger_name":"org.springframework.web.servlet.DispatcherServlet","thread_name":"http-nio-10000-exec-1"}

Viewing logs

To see logs go to http://<sonario-address>:8100/sonario-kibana, then go to Discover and choose index pattern to onteon-logs*. Here you can set fields that you want to see, and filter logs.


Your data will be processed by Onteon Tech Sp. z o.o. based in Krakow, Poland. We process your data for the following purposes: To answer questions emailed to us (only until the question is answered or you tell us to end processing your data) and secure potential claims (until they are time-barred under the law). Providing data processing consent is voluntary but, without it, we cannot give you an answer to the question you asked in your email. The data may be disclosed to entities that provide us with services (e.g., our hosting provider or our IT support company). You have the right to request access to your personal data, corrections, deletion, or the restriction of processing, as well as the right to object to processing and to lodge a complaint with a supervising authority.