@Rohit_Kumbhar (Rohit Kumbhar) posted a new topic, subject "I want to restict my Time range as per user". It read:

   Hi,
    
    I want to restrict my Kibana Dashboard Time-Range feature to specific dates as per User or Space.  
    In brief,  
    If A user Logs in he should be able to see data till 30 days, where B user can only search data for only 90 Days.
    
    Please Help.  
    Thanks  
    Regards Rohit

Then @rashmi (kulkarni) said

    If you want to restrict a user to a specific time range, then you'll want to check out Document Level Security ("DLS"). This allows you to specify an Elasticsearch query to filter all searches performed by your users: https://www.elastic.co/guide/en/elasticsearch/reference/current/field-and-document-access-control.html 
    
    cc @Larry_Gregory

@Rohit_Kumbhar (Rohit Kumbhar) replied

    Thanks @rashmi for your quick reply,
    
    Is their any way to restrict/fix timerange on Dashboard
    
    Thanks  
    Regards Rohit

So @rashmi (kulkarni) replied

    Unfortunately it's currently not possible to limit the time range a user can chose. If you would like to see such a feature in the future, please feel free to open an issue  for that on GitHub.
    
    Thanks  
    Rashmi

After which, @system (system) added

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


{'source': 'discourse', 'url': 'https://discuss.elastic.co/t/i-want-to-restict-my-time-range-as-per-user/261424', 'title': 'I want to restict my Time range as per user', 'views': 508, 'has_accepted_answer': False, 'word_count': 205, 'like_count': 0, 'reply_count': 2, 'participant_count': 2, 'posts': 5, 'tags': '', 'author': '@Rohit_Kumbhar (Rohit Kumbhar)', 'participants': '@Rohit_Kumbhar (Rohit Kumbhar), @rashmi (kulkarni), @system (system)', 'image_url': [None], 'created_at': '2021-01-18T12:17:50.835Z', 'last_posted_at': '2021-02-16T05:34:56.612Z'}