# How to limit logs for specified user?

**URL:** <https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580>\
**Category:** Graylog Central (peer support)\
**Tags:** access-specific-log-\
**Created:** [July 19, 2023, 7:03am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580 "2023-07-19T07:03:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenj1104](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/wenj1104/32/7672_2.png) [@wenj1104](https://community.graylog.org/u/wenj1104)\
**Post date:** [July 19, 2023, 7:03am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580/1 "2023-07-19T07:03:37Z")

</div>

Hi there,

My Graylog version is 3.3.16.  
Could you help me, how to show some logs of specified time range for specified user?  
For example, only allow user-A to access logs which is between 2023-01-11 and 2023-01-14?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![wenj1104](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/wenj1104/32/7672_2.png) [@wenj1104](https://community.graylog.org/u/wenj1104)\
**Post date:** [July 19, 2023, 7:05am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580/2 "2023-07-19T07:05:04Z")

</div>

I tried to create stream, but stream seems like only works for new logs.  
My request is point to previous logs.

---

<div class="post-metadata">

**Author:** ![ihe](https://avatars.discourse-cdn.com/v4/letter/i/a88e57/32.png) [@ihe](https://community.graylog.org/u/ihe)\
**Post date:** [July 19, 2023, 7:11am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580/3 "2023-07-19T07:11:45Z")

</div>

the most granular permission you can set is based on streams. If a user has the right to access a stream, you will not be able to limit the access to a certain timeframe.

---

<div class="post-metadata">

**Author:** ![wenj1104](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/wenj1104/32/7672_2.png) [@wenj1104](https://community.graylog.org/u/wenj1104)\
**Post date:** [July 19, 2023, 7:14am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580/4 "2023-07-19T07:14:06Z")

</div>

Got it. Thanks! 👍

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 2, 2023, 7:14am UTC](https://community.graylog.org/t/how-to-limit-logs-for-specified-user/29580/5 "2023-08-02T07:14:45Z")

</div>

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