Giter VIP home page Giter VIP logo

Comments (6)

yeshamavani avatar yeshamavani commented on July 23, 2024

Hi,

Thank you for a great library supporting audit feature. While the feature is comprehensive, is there a way I can configure where my logs should go and sit.

To quote a few examples, I may want to:

  1. Have my logs go into separate tables/collections based on the Source Application. Meaning thereby, let's say I have multiple applications but would like to have all my audit data in a single database, but seggregated into separate tables/collections. Is this a possibility?
  2. Have my logs move into a dynamically created table/collection by date. Meaning thereby, let's say, I configure my logging/auditing such that every month or so, a new table/collection gets created and the audit logs go into this table/collection.

Please let me know your thoughts on the above two.

Warm Regards Siva

Let me look at this in detail and check how this is possible

from loopback4-audit-log.

siva-nadella-lab avatar siva-nadella-lab commented on July 23, 2024

Hello,

Any further updates on this?

Regards
Siva

from loopback4-audit-log.

yeshamavani avatar yeshamavani commented on July 23, 2024

This is actually not that straight forward as we mention the table name in our model class.
Needs more analysis on this.

from loopback4-audit-log.

samarpan-b avatar samarpan-b commented on July 23, 2024

@yeshamavani can't we suggest the archival approach? Community can use that to achieve similar scenarios.

from loopback4-audit-log.

siva-nadella-lab avatar siva-nadella-lab commented on July 23, 2024

Hi

Any further update on this?

Regards
Siva

from loopback4-audit-log.

yeshamavani avatar yeshamavani commented on July 23, 2024

Hello
There is nothing direct available right now but if you wish to save your logs somewhere else or archive them based on time
we have archival feature in our https://www.npmjs.com/package/@sourceloop/audit-service that helps you save logs on s3, but this is configurable and you can save it as per your business requirements

from loopback4-audit-log.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.