Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add reserve logs #505

Closed
callmevladik opened this issue Nov 28, 2024 · 0 comments · Fixed by #506, #507, #508 or #577
Closed

Add reserve logs #505

callmevladik opened this issue Nov 28, 2024 · 0 comments · Fixed by #506, #507, #508 or #577
Assignees
Labels
feature New functionality

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Nov 28, 2024

The task involves investigating an approach to retrieve and display logs directly from OpenSearch in scenarios where Tekton pipelines are unavailable for log provision. This includes enabling and configuring log retrieval using the OpenSearch approach, ensuring comprehensive log coverage and accessibility for debugging and monitoring purposes.

Acceptance Criteria
A detailed investigation on the feasibility of using OpenSearch for log retrieval without Tekton pipelines.
Recommendations and potential configurations for enabling log retrieval through OpenSearch.
Documentation of the process and configurations needed to implement this approach.
Identify any limitations or considerations when using OpenSearch for log management in this context.

The idea from Tekton Pipelines https://github.com/tektoncd/dashboard/blob/main/docs/walkthrough/walkthrough-logs.md

curl -X GET "https://vpc-k8s-logs-sandbox-euc1-jpyn55j6qjx75tobqi7hgbvgrq.eu-central-1.es.amazonaws.com/logstash-dev-krci-*/_search" -H 'Content-Type: application/json' -d'
{
"_source": ["log"],
"query": {
"bool": {
"must": [
{
"match_phrase": {
"kubernetes.namespace_name": "krci"
}
},
{
"match_phrase": {
"kubernetes.labels.tekton_dev/pipelineRun": "ctp-frontend-main-review-rx8ms"
}
},
{
"range": {
"@timestamp": {
"gte": "now-2d",
"lte": "now"
}
}
}
]
}
},
"sort": [
{
"@timestamp": {
"order": "asc"
}
}
],
"size": 200
}' --insecure --user 'username:password'

@callmevladik callmevladik converted this from a draft issue Nov 28, 2024
@callmevladik callmevladik self-assigned this Nov 28, 2024
@callmevladik callmevladik added the feature New functionality label Nov 28, 2024
callmevladik added a commit that referenced this issue Nov 28, 2024
@callmevladik callmevladik mentioned this issue Nov 28, 2024
11 tasks
callmevladik added a commit that referenced this issue Nov 28, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in KubeRocketCI Nov 28, 2024
SergK pushed a commit that referenced this issue Nov 29, 2024
callmevladik added a commit that referenced this issue Dec 3, 2024
SergK added a commit that referenced this issue Jan 28, 2025
Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
SergK added a commit that referenced this issue Jan 28, 2025
Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
SergK added a commit that referenced this issue Jan 28, 2025
Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment