After creating a stack and sending your first couple of logs, you most likely want to view your logs to verify that they are being sent correctly. Kibana is a visualisation and analytics platform that can be accessed from your dashboard, or from your stack settings. It comes bundled with tons of useful tools to help you search and filter through your logs, as well as visualise them in multiple different ways to suit your needs.
Your stacks come with default Logstash filters applied to them. These filters will parse through your incoming logs to extract the relevant information from them, transform them into a more structured and standardised form, and then send them to Elasticsearch. Kibana will then be able to provide a view of all logs inside Elasticsearch for a particular stack.
You can customise how logs are transformed by editing these filters using our Logstash filter editor, which can be found in Stack Settings > Logstash Filters. This lets you control how data is extracted and mapped to new fields, and much more. We recommend reading our articles on editing Logstash filters and removing fields from your logs if you want to learn more about this.
Viewing your logs in Kibana
Once you have a few logs stored in Elasticsearch then you should be able to view them inside Kibana. Make sure that you have the correct date range specified at the top-right corner of Kibana so that you are viewing logs received roughly around the same time you sent them.
Then your Discovery page should look something similar to this:
The visualisation page lets you create useful graphs for displaying your data depending on your requirements. This can help you track your business metrics and focus only on the date that you care about whilst removing all the noise. For example, you may wish to track user activity on your web platform to see if the number of user interactions has increased over time.
- Get started sending logs
- Learn how to use index patterns to search your logs and metrics with Kibana.
- Check out our Kibana cheat-sheet to learn advanced searching techniques.
- Learn how you can export data from a Kibana search.