Kibana Log Monitoring


  1. Go to Dev Tools.
  2. Run the following request to create a new alias on the log index
    1. PUT /aspire-log/_mapping
      {
      	"properties": {
      		"@timestamp": { 
      			"type": "alias",
      			"path": "log.timestamp" 
      		}
      	} 
      }
  3. Go to Observability → Logs
  4. On the settings section and configure a new source. Set the index as “aspire-log”, click "Apply" and then select the columns you want to display. Finally, click "Apply" again.

  5. Go to Stream and now you should be able to see the logs.


Kibana Discover


Configuration

  1. Go to Kibana → Discover
  2. Click on create index pattern.
  3. Type "aspire-log" and click "Next Step".
  4. On the "Time Field" dropdown select "@timestamp"
  5. Click "Create Index Pattern"
  6. Go to Kibana → Discover and now you should see the Aspire Logs.

Export logs to CSV file

The Discover tool allows the user to get a set of entry logs based on a filter. After saving the results, those can be exported as a CSV file.

  1. Create a filter with the required field values and date range.
  2. Click Save, type a name for the new filter and then click Save again.
  3. Click Share → CSV Reports → Generate CSV
  4. When the report creation is done, it can be downloaded and shared.