This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Clear login logs

Is there a way to clear new webadmin logs (last sessions).

uau.log can be cleared, but is it possible to clear only half of it?



This thread was automatically locked due to age.
Parents
  • Hoi and welcome to the UTM Community!

    You mean the aua log where all user authentications are logged, regardless of the reason for the authentication.  The confd log is where all changes by admins are logged along with a lot of other things.  The last 20 sessions displayed when you click on 'Management' are in a PostgreSQL database.

    To re-initialize all PostgreSQL databases (deletes all graphs and data, but does not affect the logs):

    /etc/init.d/postgresql92 rebuild

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Is there a way to delete 10 of 20 sessions in Management, using SQL ?

  • I'm sure there is, but I'm not one of the PostgreSQL gurus here.  You might open a new thread in this forum using that as the title.  Maybe teched, mister.kister or another SQL guru will see the thread.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • I'm sure there is, but I'm not one of the PostgreSQL gurus here.  You might open a new thread in this forum using that as the title.  Maybe teched, mister.kister or another SQL guru will see the thread.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
No Data