View the application environment to retrieve the Kibana connection information for the Predix Logging service.
Procedure
- View the application environment to get kibana connection information.
$ cf env <your-app-name>
- Point a browser to the kibana_url and log in with the username/password from the previous step. Here is an example ENV:
"kibana_url": "https://kibana-8c667b6c.run.aws.ice.predix.io",
"password": "sample_password",
"username": "sample_user"
Note:
When you access Kibana for the first time, you will be required to "Configure an index pattern". Follow these guidelines to define the index:
- Index contains time-based events - checked (default)
- Use event times to create index names [DEPRECATED] - unchecked (default)
- Index name or pattern: logstash-* - (default)
- Index name or pattern: logstash-* - (default)
- Time-field name - select @timestamp
- If @timestamp is not available as an option then it means there are no logs flowing into the service instance
- Bind an app to the new service instance and refresh Kibana to see if @timestamp is available in this drop-down menu
- Fewer than than 5 minutes will pass from the time an app is bound to Kibana seeing @timestamp in the Time-field name drop-down menu
- Click on Create