Comments (9)
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.
Even just a few paragraphs in the README about what problem it solves and its basic approach would be useful!
from audit-stash.
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.
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.
@bravo-kernel Thanks! Please ask me any question you need :)
from audit-stash.
@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.
I'm willing to write some basic documentation for this project. Here's what I think I have so far:
- Use composer to install
lorenzo/audit-stash
andcakephp/elastic-search
- Deploy Elasticsearch (or use AWS Elasticsearch Service)
- Add datasource configuration
- Use
elastic_mapping
shell to create mappings in elastic search - Using
friendsofcake/crud
to display logs (installfriendsofcake/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.
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.
I wrote something in the readme, i hope it helps
from audit-stash.
Related Issues (20)
- Exception: No handler for type [string] declared on field [transaction] HOT 2
- audit-stash not working when updating multiple rows together HOT 7
- Syntax error in 2.0.0 release HOT 1
- deprecation warning for ServerRequest::here() HOT 3
- Deprecated field type error when running elastic_mapping shell HOT 2
- Multiple index guide incorrect HOT 3
- Throws an SQL incorrect syntax error on test HOT 2
- Inserting stringifiable objects HOT 2
- Implement JSON field types HOT 3
- CakePHP 4 compatibility HOT 5
- Can't find %s in the configuration guide for daily index HOT 1
- psr-4 autoloading standard warning in composer 1.10 HOT 2
- AuditLogsType.php does not comply with psr-4 autoloading standard. HOT 2
- String datetime changes may break custom DateTimeType implementations HOT 1
- Log associative model HOT 4
- Logging Cascading Deletes HOT 1
- Rename AuditLogsType.php file to AuditLogsIndex.php
- Your requirements could not be resolved to an installable set of packages
- Tests fail on my local
- CakePHP 5 Support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audit-stash.