For customers who have different tenant users, business units, or other separations of indexed data to isolate the information owned by the different teams or users, you might have created object groups that use isolation keys (also called partition keys) to separate the data for each organization from the other organizations.
The Refinery views that you create for users can use those isolation keys as filters to control the data that is shown in analytics and search results for the view.
To create a view with an isolation/partition key filter:
- Follow the standard instructions to create a view. Go to Refinery and then click Create View.
- Select the object group in the left frame, then click Next.
- In the Schema Transformation window, scroll to the
cs_partition_key_0field and click the filter icon on the right.
- The Configure Filter window opens. You can specify a partition key by using one of two methods:
- You can type a partition value defined in the object group into the Insert Filter field and click Create.
- You can select Use partition keys and the system displays a list of the available partition keys. Select the partition that you want to use for the view, and then click Create to save the setting.
NOTE: You can repeat tis step to select more than one partition key for a view if desired.
- The Schema Transformation window updates to show the selected partition key value(s) for the
ca_partition_key_0field, as in the following example:
- Click the gear icon to the right of the
cs_partition_key_0field to display the Schema Transformation window.
- In the Select Transform field, click the Materialize with Regex value to display a list of options, and select Treat as Partition Key.
The window updates to show the following information. Make sure that the
cs_partition_key_0 field number matches the Key Part value (both are usually 0).
- Click Save Transform in the top right to save and close the window.
- Click Next in the Schema Transformation window and complete the view creation using the standard steps.
Users who have access to the view see only the indexed data related to the filter key(s) that you specified. A sample Kibana Discover window for a view that shows the
ap-northeast-1 data follows:
Updated 18 days ago