I tried to create a search saved object with kibana API. I could able to create the object with selected columns and sort, but I am unable to add filters to the search.
I often suggest folks to create an object to through the Kibana UI first (in your case a saved search which you can do though Discover) and then run the Find and Get saved object APIs and see what it looks like and then you can use that as a template for how to create one like you want.
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.