Den1
(Den)
August 31, 2020, 1:48pm
1
Hello,
I added custom permissions for new role like this:
{"match": {"computerName.keyword" : "HOST-depName-ABC"}}
in this case user will see documents only with "HOST-depName-ABC" computerName.keyword.
I want to use wildcard in this extension like this:
{"match": {"computerName.keyword" : "HOST-depName-*"}}
in this case user does not see anything.
Note: I`m using cloud subscription.
Could you please help me with this?
warkolm
(Mark Walkom)
September 1, 2020, 5:21am
2
Den1
(Den)
September 1, 2020, 6:23am
3
Thank you. Yes it helps but how can I use wildcard
warkolm
(Mark Walkom)
September 1, 2020, 6:25am
4
You can use them in the query
part that the example shows.
Den1
(Den)
September 1, 2020, 8:11am
5
warkolm:
query
Thank you.
{"wildcard": {"computerName.keyword" : "HOST-depName-*"}}
1 Like
system
(system)
Closed
September 29, 2020, 8:12am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.