Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, I Am Having A Problem That Debug Images Are Not Shown After Clearml Server Migration. I Found A Solution On This Page:

Hello, I am having a problem that debug images are not shown after ClearML server migration. I found a solution on this page: https://clear.ml/docs/latest/docs/faq/#debug-images-andor-artifacts-are-not-loading-in-the-u[…]clearml-server-to-a-new-address-how-do-i-fix-this---- But curl request provided is incomplete. It needs a URL to POST a request to. Plain elastic host it not working (localhost:9200) neither is localhost:9200/<index-name>. Any help? Thanks.

  
  
Posted 6 days ago
Votes Newest

Answers 6


Hi @<1526734383564722176:profile|BoredBat47> , do you mean new debug samples or old ones? Please note that older debug samples were registered to the previous URL

  
  
Posted 6 days ago

@<1523701070390366208:profile|CostlyOstrich36> Old debug samples. My URL for files server has changed, and old debug sampled are not shown.

  
  
Posted 6 days ago

@<1526734383564722176:profile|BoredBat47> Please try running the following command

curl -XPOST -H 'Content-Type: application/json' 'localhost:9200/events-training_debug_image-*/_update_by_query?conflicts=proceed' -d'{
    "script": {
        "source": "ctx._source.url = ctx._source.url.replace('
.<OLD_ADDRESS>', '
.<NEW_ADDRESS>')",
        "lang": "painless"
    },
    "query": {"prefix": {"url": {"value": "
.<OLD_ADDRESS>", "case_insensitive": true}}}
}'
  
  
Posted 2 days ago

You'd have to change the URLs in elastic itself

  
  
Posted 6 days ago

@<1523701070390366208:profile|CostlyOstrich36> My question basically is what host do I need to send POST request to change paths? curl to localhost:9200 (where elastic is running) is not working

  
  
Posted 6 days ago

@<1523701070390366208:profile|CostlyOstrich36> Yes, I know. Above I posted a link where there's a solution. DB request to elastic to change those URLs. My question is: where to send this DB request? What endpoint? Request provided in FAQ in incomplete. It lacks URL where to send the request to.

curl --header "Content-Type: application/json" \
--request POST \
--data '{
    "script": {
        "source": "ctx._source.url = ctx._source.url.replace('
.<OLD_ADDRESS>', '
.<NEW_ADDRESS>')",
        "lang": "painless"
    },
    "query": {
        "match_all": {}
    }
}' \
  
  
Posted 2 days ago