i want to create a dataview with only "message" field,how can i make the post request?
the example only show "fields" is an object,but didnt tell the detail properties in the object.
It looks like the expected shape of the sourceFilters field is:
...
// Used by discover to hide fields.
sourceFilters: [{value: "value"}]
...
I'm not certain this is going to do what you expect it should. Usually data views capture the full set of fields. You might be able to do this with field level security:
thx for answer!i'm sorry i put the wrong checkbox on key "sourcefilter" by mistake and this make some misleading.My question is how to drop unnecessary fields when i create a dataview.Finally i achieved by edit filebeat.yml config.And the object "field" inner details will returned after i called kibana api "create dataview".
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.