# Elasticsearch upgrade from 2.4.6 to 7.x

**URL:** https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620
**Category:** Elasticsearch
**Created:** [April 24, 2023, 9:45am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620 "2023-04-24T09:45:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![iarunava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iarunava/32/120125_2.png) [@iarunava](https://discuss.elastic.co/u/iarunava)
#### Post date: [April 24, 2023, 9:45am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/1 "2023-04-24T09:45:47Z")

</div>

Hi. Arunava here.

Im trying to upgrade elasticsearch 2.4.6 to 7.17.x

Im new to elasticsearch. I would appreciate some pointers.

The 7.17 stack is ready. and there is a task defined which tries to bulk insert the data using the elasticsearch pyclient.

and that is failing. saying  
`pipeline with id [open] not defined`

Now. As i understand, pipelines werent introduced in 2.x version. But for some reason the data is modified in the code to introduce `pipeline: open` key:value pair.

I want to understand what might this is used for in elasticsearch 2.4

Any pointers. Will be much appreciated. Thank you for reading.  
Please lmk if i posted in a wrong place or anything else relating to community guidelines. Thanks.

Update: We are not using the ELK stack.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 24, 2023, 9:45am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/2 "2023-04-24T09:45:47Z")

</div>

elasticsearch 2.4.6 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 25, 2023, 3:01am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/3 "2023-04-25T03:01:50Z")

</div>

Welcome!

Apparently you have an ingest pipeline in version 2.x which you need to add as well in 7.17.  
Could you check that?

---

<div class="post-metadata">

### Author: ![iarunava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iarunava/32/120125_2.png) [@iarunava](https://discuss.elastic.co/u/iarunava)
#### Post date: [April 25, 2023, 3:16am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/4 "2023-04-25T03:16:07Z")

</div>

Thanks for getting back. But as i go through the elasticsearch docs. I dont see any concept of ingest pipeline defined in 2.x. What am i missing?

---

<div class="post-metadata">

### Author: ![iarunava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iarunava/32/120125_2.png) [@iarunava](https://discuss.elastic.co/u/iarunava)
#### Post date: [April 25, 2023, 3:18am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/5 "2023-04-25T03:18:00Z")

</div>

also in case ingest pipelines can be defined. What is the command to check cause.

`_ingest` feature isnt introduced in 2.x

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 25, 2023, 4:05am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/6 "2023-04-25T04:05:46Z")

</div>

Ha right!

I don't know where this pipeline is defined. In your application? In the Index settings?

You can always define an empty pipeline which has no processors.

---

<div class="post-metadata">

### Author: ![iarunava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iarunava/32/120125_2.png) [@iarunava](https://discuss.elastic.co/u/iarunava)
#### Post date: [April 26, 2023, 10:55am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/7 "2023-04-26T10:55:57Z")

</div>

It was in the code. Found it. Can you tell me if theres a way to change this keyword?  
Like `pipeline:open` is triggering an ingest pipeline. if i can make the keyword something else. like `_pipeline` or something else. cause else i would need to change production data.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 26, 2023, 1:12pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/9 "2023-04-26T13:12:14Z")

</div>

I don't understand. You just need to remove that call from your code.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 24, 2023, 1:13pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-6-to-7-x/330620/10 "2023-05-24T13:13:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
