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:
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.
Trying to just delete the field. The main real world problem I'm facing is
that if the fields picker is expanded in Kibana and there are 15K of them
it bogs down the browser. Could be a area of improvement there for
Kibana to impose a limit.
Thanks,
-Chris
On Wed, May 7, 2014 at 2:37 PM, Ivan Brusic ivan@brusic.com wrote:
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:
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 elasticsearch+unsubscribe@googlegroups.com.
Unfortunately, Elasticsearch does not support update by query, so you
cannot programatically delete a field. Perhaps there is something that can
be done on the Kibana side.
Trying to just delete the field. The main real world problem I'm facing is
that if the fields picker is expanded in Kibana and there are 15K of them
it bogs down the browser. Could be a area of improvement there for
Kibana to impose a limit.
Thanks,
-Chris
On Wed, May 7, 2014 at 2:37 PM, Ivan Brusic ivan@brusic.com wrote:
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:
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 elasticsearch+unsubscribe@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.