Document Level Security not working in searchguard

Hi Guys,

I am using Searchguard with Elasticsearch. Everything is working fine but when I am applying document level security in the roles it does not work.

My sg_roles.yml config

sg_sample:
  indices:
    "*":
      '*':
        - indices:admin/mappings/fields/get*
        - READ
      _dls_: '{ "query" : { "match" : { "host" : { "query" : "ip", "type" : "phrase" }}}}'
      _fls_:
        - "*"

But my KIbana shows the results of other IPs also. Pls let me know if I am doing anything wrong. I have also followed the config from https://floragunn.com/document-field-level-security-search-guard/ but that config is giving errors .

Error logs can be seen here

You need to ask on the searchguard repo.