Hi, I'm trying to add an index pattern for a particular space.
I tried using the provided API, described here:
POST <kibana host>:<port>/s/<space_id>/api/index_patterns/index_pattern
But, I keep getting 404 response.
Note: I also tried using the new suggested data_view API -
POST <kibana host>:<port>/s/<space_id>/api/data_views/data_view
But got the same result (404).
I have managed to workaround this problem by creating an index pattern for the default space and then copying it from there to my other defined space using shared_objects copy API, however this is not my preferred way for doing this and I prefer the official way.
Thanks in advance for the help!