Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Elasticsearch as datasource for Application logs #10

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

ricoberger
Copy link
Member

@ricoberger ricoberger commented Mar 13, 2021

We are adding Elasticsearch as second datasource besides Prometheus.
Elasticsearch can be used to query the logs of our applications. For
that we extend the Applications CRD with a logs field, which can be used
to define Elasticsearch queries to retrieve the logs of an application.

In the kobs UI we added a new tab "logs" for the applications view,
where a user can select the defined queries for an application. When a
query is selected, the query is run against Elasticsearch and the logs
are shown in a table view. Next to the query we also run an aggragation,
so show the distribution of the logs in the selected time range in a bar
chart.

Next to the support of Elasticsearch in the applications view, we also
added an interface to query the configured Elasticsearch datasource
directly.

@ricoberger ricoberger changed the title Add Elasticsearch as datasource Add Elasticsearch as datasource for Application logs Mar 13, 2021
We are adding Elasticsearch as second datasource besides Prometheus.
Elasticsearch can be used to query the logs of our applications. For
that we extend the Applications CRD with a logs field, which can be used
to define Elasticsearch queries to retrieve the logs of an application.

In the kobs UI we added a new tab "logs" for the applications view,
where a user can select the defined queries for an application. When a
query is selected, the query is run against Elasticsearch and the logs
are shown in a table view. Next to the query we also run an aggragation,
so show the distribution of the logs in the selected time range in a bar
chart.

Next to the support of Elasticsearch in the applications view, we also
added an interface to query the configured Elasticsearch datasource
directly.
@ricoberger ricoberger force-pushed the add-elasticsearch-datasource branch from f8397f8 to 1f0e5ff Compare March 13, 2021 14:25
@ricoberger ricoberger merged commit d82b229 into main Mar 13, 2021
@ricoberger ricoberger deleted the add-elasticsearch-datasource branch March 13, 2021 16:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant