Creating a View for Partitioned Data

Create a view that uses one or more partition keys to isolate specific data that can be queried or visualized by users.

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:

  1. Follow the standard instructions to create a view. Go to Refinery and then click Create View.
  2. Select the object group in the left frame, then click Next.
25622562
  1. In the Schema Transformation window, scroll to the cs_partition_key_0 field and click the filter icon on the right.
17101710
  1. 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.
10461046
  • 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.

11341134
  1. The Schema Transformation window updates to show the selected partition key value(s) for the ca_partition_key_0 field, as in the following example:
14201420
  1. Click the gear icon to the right of the cs_partition_key_0 field to display the Schema Transformation window.
24762476
  1. 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).

24882488
  1. Click Save Transform in the top right to save and close the window.
  2. 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:

30323032

Did this page help you?