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

Term query for '/var/log/messages/fuschiashoulder' has no hits #420

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

finnegancarroll
Copy link
Contributor

Description

The term query of the big5 workload doesn't appear to have any hits.

curl -X POST "http://localhost:9200/_search" \
-H "Content-Type: application/json" \
-d '{
  "query": {
    "term": {
      "log.file.path": {
        "value": "/var/log/messages/fuschiashoulder"
      }
    }
  }
}'
{"took":2,"timed_out":false,"_shards":{"total":5,"successful":5,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":null,"hits":[]}}

Same query with "value": "/var/log/messages/birdknight"

{"took":353,"timed_out":false,"_shards":{"total":5,"successful":5,"skipped":0,"failed":0},"hits":{"total":{"value":10000,"relation":"gte"},"max_score":9.20723,"hits":[ ...

Issues Resolved

None

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@rishabh6788 rishabh6788 merged commit 1dab4b9 into opensearch-project:main Sep 26, 2024
2 checks passed
@rishabh6788 rishabh6788 added backport 2 Backport to the "2" branch backport 3 Backport to the "3" branch labels Sep 26, 2024
@opensearch-trigger-bot
Copy link

The backport to 2 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2 2
# Navigate to the new working tree
pushd ../.worktrees/backport-2
# Create a new branch
git switch --create backport/backport-420-to-2
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1dab4b9f6747e135288a0ae97a0904878ea2b5fc
# Push it to GitHub
git push --set-upstream origin backport/backport-420-to-2
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2

Then, create a pull request where the base branch is 2 and the compare/head branch is backport/backport-420-to-2.

@opensearch-trigger-bot
Copy link

The backport to 3 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-3 3
# Navigate to the new working tree
pushd ../.worktrees/backport-3
# Create a new branch
git switch --create backport/backport-420-to-3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1dab4b9f6747e135288a0ae97a0904878ea2b5fc
# Push it to GitHub
git push --set-upstream origin backport/backport-420-to-3
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-3

Then, create a pull request where the base branch is 3 and the compare/head branch is backport/backport-420-to-3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2 Backport to the "2" branch backport 3 Backport to the "3" branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants