Are you looking to delete the documents or just the field? If you are
trying to delete the entire document that contains the field, you could use
a delete by query where the query contains on exists filter:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html

However, you will not be able to use wildcards in the exists filter, so you
will need to explicitly state each filter. That's the best I can think of.
:)

Cheers,

Ivan


On Mon, May 5, 2014 at 3:25 PM, Chris Laplante <[email protected]> wrote:

> I have a number of fields (15K) that were created inadvertently.
>
> How would I delete them all from all indexes based on a pattern of the
> field name.
>
> Eg all the fields I want to delete are in indexes named with the standard
> logstash naming and are
>
> "calculus_data.calculus_*"
>
> Thanks,
>
> -Chris
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/0ff099ca-5db2-4f34-a6fb-e418d8d38dac%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/0ff099ca-5db2-4f34-a6fb-e418d8d38dac%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDRZczMoRahZfOvAhezU66zXT9ijq63xfgWj9zcnDWCeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to