[search-guard group] Dynamic dls filter

Currently only the user can be resolved dynamically:

_dls_: '{"term" : {"myfield" : "${user_name}"}}'

Currently i see no other way than creating 50 roles. Should be too hard to write a script which generates the appropriate yml for that.
If have an idea which could make this easier pls. do not hesitate to file a feature request.

···

Am 31.07.2017 um 11:20 schrieb rohit chaudhary <rohitchaudhary95@gmail.com>:

Hi,

I have a dashboard, which contains data from different regions. So, if I want to filter out data for user specific to region then how to proceed:

One way is to create roles for each region and in dls filter data by region. So, for 50 regions, I will have to make 50 roles.

So, is there any other way I should proceed?
Is it possible to dynamically filter data according to user region using dls or something else?

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2954fe63-bb52-4a7f-9bb4-ea361e4048da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I also encountered this problem. I need to set a user can only access the last two days of data.Is there any way to dynamically filter data? How to modify the source code?
在 2017年8月2日星期三 UTC+8下午4:22:05,Search Guard写道:

···

Currently only the user can be resolved dynamically:

dls: ‘{“term” : {“myfield” : “${user_name}”}}’

Currently i see no other way than creating 50 roles. Should be too hard to write a script which generates the appropriate yml for that.

If have an idea which could make this easier pls. do not hesitate to file a feature request.

Am 31.07.2017 um 11:20 schrieb rohit chaudhary rohitcha...@gmail.com:

Hi,

I have a dashboard, which contains data from different regions. So, if I want to filter out data for user specific to region then how to proceed:

One way is to create roles for each region and in dls filter data by region. So, for 50 regions, I will have to make 50 roles.

So, is there any other way I should proceed?

Is it possible to dynamically filter data according to user region using dls or something else?

Thanks in advance.


You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.

To post to this group, send email to search...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2954fe63-bb52-4a7f-9bb4-ea361e4048da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

this will come in SG 6

And pls. keep in mind that you need to obtain a license if you use the DLS feature! You can contact sales@floragunn.com for that.
Sourcecode modification for the DLS FLS module is not permitted because this module is not licendes under the ASL2.

···

Am 17.11.2017 um 04:08 schrieb 775878550@qq.com:

I also encountered this problem. I need to set a user can only access the last two days of data.Is there any way to dynamically filter data? How to modify the source code?
在 2017年8月2日星期三 UTC+8下午4:22:05,Search Guard写道:
Currently only the user can be resolved dynamically:

_dls_: '{"term" : {"myfield" : "${user_name}"}}'

Currently i see no other way than creating 50 roles. Should be too hard to write a script which generates the appropriate yml for that.
If have an idea which could make this easier pls. do not hesitate to file a feature request.

> Am 31.07.2017 um 11:20 schrieb rohit chaudhary <rohitcha...@gmail.com>:
>
> Hi,
>
> I have a dashboard, which contains data from different regions. So, if I want to filter out data for user specific to region then how to proceed:
>
> One way is to create roles for each region and in dls filter data by region. So, for 50 regions, I will have to make 50 roles.
>
>
> So, is there any other way I should proceed?
> Is it possible to dynamically filter data according to user region using dls or something else?
>
> Thanks in advance.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
> To post to this group, send email to search...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2954fe63-bb52-4a7f-9bb4-ea361e4048da%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/5dd09ba9-9e1f-4949-bce8-13aa6a801d83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

That’s great! When will SG 6 come?

···

------------------ 原始邮件 ------------------

发件人: “SG”;info@search-guard.com;

发送时间: 2017年11月17日(星期五) 晚上9:42

收件人: "search-guard@googlegroups.com"search-guard@googlegroups.com;

主题: Re: [search-guard group] Dynamic dls filter

this will come in SG 6

And pls. keep in mind that you need to obtain a license if you use the DLS feature! You can contact sales@floragunn.com for that.
Sourcecode modification for the DLS FLS module is not permitted because this module is not licendes under the ASL2.

Am 17.11.2017 um 04:08 schrieb 775878550@qq.com:

I also encountered this problem. I need to set a user can only access the last two days of data.Is there any way to dynamically filter data? How to modify the source code?
在 2017年8月2日星期三 UTC+8下午4:22:05,Search Guard写道:
Currently only the user can be resolved dynamically:

dls: ‘{“term” : {“myfield” : “${user_name}”}}’

Currently i see no other way than creating 50 roles. Should be too hard to write a script which generates the appropriate yml for that.
If have an idea which could make this easier pls. do not hesitate to file a feature request.

Am 31.07.2017 um 11:20 schrieb rohit chaudhary rohitcha...@gmail.com:

Hi,

I have a dashboard, which contains data from different regions. So, if I want to filter out data for user specific to region then how to proceed:

One way is to create roles for each region and in dls filter data by region. So, for 50 regions, I will have to make 50 roles.

So, is there any other way I should proceed?
Is it possible to dynamically filter data according to user region using dls or something else?

Thanks in advance.


You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
To post to this group, send email to search...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2954fe63-bb52-4a7f-9bb4-ea361e4048da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/5dd09ba9-9e1f-4949-bce8-13aa6a801d83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the Google Groups “Search Guard Community Forum” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/search-guard/TH1RXZxsE14/unsubscribe.
To unsubscribe from this group and all its topics, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/535A4CAB-3C1C-4D18-8E72-71F88BE4466D%40search-guard.com.
For more options, visit https://groups.google.com/d/optout.

why there isn’t content in searchguard index?

在 2017年8月2日星期三 UTC+8下午4:22:05,Search Guard写道:

···

Currently only the user can be resolved dynamically:

dls: ‘{“term” : {“myfield” : “${user_name}”}}’

Currently i see no other way than creating 50 roles. Should be too hard to write a script which generates the appropriate yml for that.

If have an idea which could make this easier pls. do not hesitate to file a feature request.

Am 31.07.2017 um 11:20 schrieb rohit chaudhary rohitcha...@gmail.com:

Hi,

I have a dashboard, which contains data from different regions. So, if I want to filter out data for user specific to region then how to proceed:

One way is to create roles for each region and in dls filter data by region. So, for 50 regions, I will have to make 50 roles.

So, is there any other way I should proceed?

Is it possible to dynamically filter data according to user region using dls or something else?

Thanks in advance.


You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.

To post to this group, send email to search...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2954fe63-bb52-4a7f-9bb4-ea361e4048da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.