Skip to main content

Monitoring and Logging

InsightStream writes logs to stdout. For integration with ELK logging system, you can use the following Logstash configuration:

input {
docker {
containers => ["insightstream"]
type => "docker-logs"
}
}
output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "insightstream-logs"
}
}

Kibana

Configure dashboards in Kibana for log analysis.

Example log entries:

[2024-10-29 14:32:45] INFO: User request: "What documents are needed for registration?"
[2024-10-29 14:32:50] ERROR: Error indexing document "doc123.pdf": Invalid format.