Git Product home page Git Product logo

Comments (9)

lorenzo avatar lorenzo commented on May 28, 2024

Not yet, I haven't got the time for it.

@Adam-Je I am willing to guide you through the process of installing and using this plugin in exchange for help with the docs :)

from audit-stash.

ifunk avatar ifunk commented on May 28, 2024

Even just a few paragraphs in the README about what problem it solves and its basic approach would be useful!

from audit-stash.

bravo-kernel avatar bravo-kernel commented on May 28, 2024

This plugin is on my todo list for for this weekend so I am willing to make a start with the docs. That is... if @lorenzo will spoonfeed me through the process 😉

from audit-stash.

dawoodjee avatar dawoodjee commented on May 28, 2024

Hi guys,

Glad you also have the interest. I have absolutely no problem to contribute docs with some guidance. I'm just super tied down right now, probably til weekend after next. So @bravo-kernel please do us the favour. And please make the docs simple for the CakePHP newbies too, I'll contribute with improvements if needed.

Best of luck!

from audit-stash.

lorenzo avatar lorenzo commented on May 28, 2024

@bravo-kernel Thanks! Please ask me any question you need :)

from audit-stash.

bravo-kernel avatar bravo-kernel commented on May 28, 2024

@Adam-Je it seems I misunderstood the requirements and will not be able to jump in any time soon so... if you are willing to make a start it would be much appreciated

from audit-stash.

aceat64 avatar aceat64 commented on May 28, 2024

I'm willing to write some basic documentation for this project. Here's what I think I have so far:

  1. Use composer to install lorenzo/audit-stash and cakephp/elastic-search
  2. Deploy Elasticsearch (or use AWS Elasticsearch Service)
  3. Add datasource configuration
  4. Use elastic_mapping shell to create mappings in elastic search
  5. Using friendsofcake/crud to display logs (install friendsofcake/crud using composer first)

Right now I'm stuck on trying to figure out what the configuration should look like. If you could get me a basic example, I think I can work out the rest pretty quickly.

from audit-stash.

lorenzo avatar lorenzo commented on May 28, 2024

This is the configuration for elastic search. In app.php, the Datasources section:

'auditlog_elastic' => [
            'className' => 'Cake\ElasticSearch\Datasource\Connection',
            'driver' => 'Cake\ElasticSearch\Datasource\Connection',
            'host' => '127.0.0.1',
            'port' => 9200,
            'index' => 'audit-logs',
        ],

You can also have indices per day suing this configuration:

'auditlog_elastic' => [
            'className' => 'Cake\ElasticSearch\Datasource\Connection',
            'driver' => 'Cake\ElasticSearch\Datasource\Connection',
            'host' => '127.0.0.1',
            'port' => 9200,
            'index' => 'audit-logs%s', // Added a %s
        ],

from audit-stash.

lorenzo avatar lorenzo commented on May 28, 2024

I wrote something in the readme, i hope it helps

from audit-stash.

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.