Deleting and updating fields in documents in Elastic search

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Code pastebin.com/m...

КОМЕНТАРІ • 24

  • @avishdubey288
    @avishdubey288 3 роки тому +2

    Hey how can i send regular updates to my elastic search index, specifically one particular field, something like a status change

  • @tintin7285
    @tintin7285 Рік тому

    Hey bro,
    I want to delete duplicates from my es index at once is it possible ?
    It really needed if we can

  • @Akhileshkumar-iw8fl
    @Akhileshkumar-iw8fl Рік тому

    How to delete some specific key value using Java code??

  • @4l4np0tt3r
    @4l4np0tt3r Рік тому

    How we update one of field as collection..?

  • @sivakiran3583
    @sivakiran3583 2 роки тому

    Hi, how can we delete the particular log or document in elk ?

  • @rahilengg
    @rahilengg 3 роки тому

    Hi Soumil
    I wanted to update fields in documents in Elastic search with help of watcher action, could you please help me with this

  • @SunnySharma-dc2nh
    @SunnySharma-dc2nh 3 роки тому

    What to do if I want to update title and country both at the same time?

  • @Thevisionaryaddy
    @Thevisionaryaddy 3 роки тому

    showing error
    {
    "error" : {
    "root_cause" : [
    {
    "type" : "strict_dynamic_mapping_exception",
    "reason" : "mapping set to strict, dynamic introduction of [_version] within [_doc] is not allowed"
    }
    ],
    "type" : "strict_dynamic_mapping_exception",
    "reason" : "mapping set to strict, dynamic introduction of [_version] within [_doc] is not allowed"
    },
    "status" : 400
    }

    • @maheshkumartangella5516
      @maheshkumartangella5516 3 роки тому

      if you specify "dynamic":"strict" in your index mapping, then you are asking your index to not allow any new keys/fields other than the ones specified in your mapping

  • @reshuagarwal2029
    @reshuagarwal2029 4 роки тому

    What if we want to add a key to all ids in that case what should we do?
    Should I not specify the the id itself
    Like
    POST Netflix/_update

    • @SoumilShah
      @SoumilShah  4 роки тому

      Reshu Agarwal well something like that

    • @reshuagarwal2029
      @reshuagarwal2029 4 роки тому

      @@SoumilShah is creating a scripted field and creating a field through a post query same thing?

    • @SoumilShah
      @SoumilShah  4 роки тому

      Well I don’t know that details but they solve the same thing I have to read more

    • @vivekatwal804
      @vivekatwal804 3 роки тому

      Rashu Agarwal! You can use update_by_query API if your field has the same value for all the documents , if every document has a different value then you will need ids

  • @thulasitechincreative9190
    @thulasitechincreative9190 3 роки тому

    How to purging the previous logs in kibana

  • @manugupta8478
    @manugupta8478 3 роки тому

    Can you pls share how to do bulk update. I want to update one field in all those documents.

    • @SoumilShah
      @SoumilShah  3 роки тому

      You have to write a threaded application

  • @sudipchakraborty9103
    @sudipchakraborty9103 4 роки тому

    Hey, Soumil the tutorial was amazing. Can you give some idea how to delete the index or previous data on regular basis automatically not using dev tools??

    • @SoumilShah
      @SoumilShah  4 роки тому

      Hi we would create a cron job or rest api to do that think of this as a serverless Lambda Function doing the job :D please get in touch with me if you still have questions

  • @jyotidas6645
    @jyotidas6645 3 роки тому

    Thank You very much !

    • @ulisessaint663
      @ulisessaint663 3 роки тому

      Pro tip: watch movies on flixzone. I've been using it for watching loads of movies during the lockdown.

    • @lachlandamon6550
      @lachlandamon6550 3 роки тому

      @Ulises Saint definitely, been watching on Flixzone} for since november myself :D

    • @lennoxzayn8765
      @lennoxzayn8765 3 роки тому

      @Ulises Saint yea, I've been using flixzone} for years myself :)