I need to filter out and see only particular type of indices in index pattern, wondering how to do it

I have indices in elastic search which are from different databases like HR, finance..test1_hr,test2_hr, abc_fin,test3_fin..when I try to create index pattern I can see all these indices, I want HR person to see only indices from hr db, is there a way to do it ? I am using kibana 6.1.2..

You will have to use xpack. It is a licensed feature, but you can get a trial for 30 days.

Not using xpack for some reason , the request I am getting from query={bool={filter=[{term={type=index-pattern}}]}}}, how to tweak this request so that I get to see only particular indices

I am not clear what the requirement is. But if you want to query elasticsearch and get results from specific indices, you specify the index in the search endpoint.

GET kibana_sample_data_ecommerce/_search
{
  "query": {
    "match_all": {}
  }
}

Specify the index to search to get data from that index.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.