Creating an Ingest Pipeline

Hoping I can get some help. I am trying to setup Elastic with our CMS to index content on our website. Everything is fine except with documents where I cannot seem to create an ingest pipeline. I have been searching like crazy and this does not appear to be complicated, so I am not sure what I am doing wrong. Being our Elastic Admins are pretty green they have not been able to help me either.

Looks like we are using Elastic 6020499, and I am using the following:

PUT _ingest/pipeline/attachment
{
  "description" : "Extract attachment information",
  "processors" : [
    {
      "attachment" : {
        "field" : "data"
      }
    }
  ]
}

I get back a bad request with:

No handler found for uri [/gty-write/_ingest/pipeline/attachment] and method [PUT]

I am told the ingest plugin is installed and they sent me back this command:

elasticsearch/bin/elasticsearch-plugin list
ingest-attachment

However, I have no idea what I am doing wrong or how to debug further. Everything I find online seems to match what I am doing. I have found some slight variations but I those seem to be trying to do something more complicated.

Any help would be appreciated!

Thanks!

You did not call:

PUT _ingest/pipeline/attachment

But

PUT gty-write/_ingest/pipeline/attachment
1 Like

The URL that is being called via the put is:

http://server:port/gty-write/_ingest/pipeline/attachment

The general command does not include the full URL sent through the application, but I believe that is correct.

Are you saying I should be calling this instead?

http://server:port/_ingest/pipeline/attachment

If so I am guessing this means it would be global, so what would the affect be to other indexes?

Thanks!

Yes.

1 Like

Thanks! I appreciate the help!

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