SlideShare a Scribd company logo
Audit: data extractors, data generators and
          integration with Syslog


                            Ivá Arroyo
                               n
                         Alfresco Developer
What is the alfresco Audit?
Data Producers

What is a data producer?
Data Producers

PathMapping
• The data generate by “data producers” are passing to application
  through the path mappings

Application
• An application define how data is mapped, extracted, and recorded
  without affecting data required by other applications
Audit Component
Data extractors and data generators

Data Generator
• A DataGenerator is a component that produces data without any input i.e. data is
  produced when a data path is active, but is independent of the values at that
  path.



 Data Extractor
• A DataExtractor is a component that uses input data to produce some output,
  either transforming the data or merely outputting the data verbatim
AuditQuery
Consult each audit application component by a
customizable query
Normal query (all results)
•curl -u <admin user>:<password>
"http://<hostname>:<port>/alfresco/service/api/audit/query/<application name>?
verbose=true

Optional parameters

•forward (true|false), sorted upward (true)/ downward (false) by date time
•limit (true|false), limit the number of results.
•toId, return the results until id specified
•value, the value to filter
•fromTime/toTime, returns the result by the time interval specified (millisecond)
Unifying all of the above in an example
Modify the output of audited messages


• Why?

• Advantages and disadvantages
What is Syslog?
Syslog configuration


• Configuration file: /etc/syslog.conf


  1.Facilities

  2.Log File
Log4j: syslog appender and additivity

    log4j.properties (appender)
    log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
    log4j.appender.syslog.syslogHost=localhost
    log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
    log4j.appender.syslog.layout.conversionPattern=%m%n
    log4j.appender.syslog.Facility=local4

     log4j.properties (additivity)
     log4j.logger.org.alfresco.audit.LogAuditImpl=INFO,syslog
     log4j.additivity.org.alfresco.audit.LogAuditImpl = false
Logrotate: master you log files


• What is?

• How works?
Demo
Thank You!


             @ivanscn

More Related Content

What's hot (17)

PDF
ANALYZER_whole
Galia Baron-Yifrach
 
PDF
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
South Tyrol Free Software Conference
 
PPTX
Gaps in the Serverless Mesh: Deployment, Discovery, and Auth
Ben Kehoe
 
PDF
LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GmbH
 
PDF
ITMAGINATION Data Science Summit 2019 Shiny Dashboards
ITMAGINATION
 
DOC
Complete Portfolio
Lorant Ipacs
 
PDF
DSD-INT 2020 Web based online Forecast Verification Tool - Zijderveld
Deltares
 
PDF
Bringing a public GraphQL API from beta to production ready
yann_s
 
PPTX
Dynamic filtering for presto join optimisation
Ori Reshef
 
PDF
Bringing a public GraphQL API from the whiteboard to production
yann_s
 
PDF
Data2Ontology
Alexander Polonsky
 
PPTX
Highlights of the Projects
Mohammad Rahman
 
PPTX
Petabytes of Data and No Servers: Corteva Scales DNA Analysis to Meet Increas...
Capgemini
 
PDF
Alter igit-cmbit midih-presentation oc2
MIDIH_EU
 
PPT
Automation test
Zhida Lan
 
PPTX
Fifth elephant 2017 Data Pipeline workshop
Ketan Khairnar
 
PPTX
qLabs How To Get Maximum RoI Using Test Automation
guest221c8e
 
ANALYZER_whole
Galia Baron-Yifrach
 
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
South Tyrol Free Software Conference
 
Gaps in the Serverless Mesh: Deployment, Discovery, and Auth
Ben Kehoe
 
LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GmbH
 
ITMAGINATION Data Science Summit 2019 Shiny Dashboards
ITMAGINATION
 
Complete Portfolio
Lorant Ipacs
 
DSD-INT 2020 Web based online Forecast Verification Tool - Zijderveld
Deltares
 
Bringing a public GraphQL API from beta to production ready
yann_s
 
Dynamic filtering for presto join optimisation
Ori Reshef
 
Bringing a public GraphQL API from the whiteboard to production
yann_s
 
Data2Ontology
Alexander Polonsky
 
Highlights of the Projects
Mohammad Rahman
 
Petabytes of Data and No Servers: Corteva Scales DNA Analysis to Meet Increas...
Capgemini
 
Alter igit-cmbit midih-presentation oc2
MIDIH_EU
 
Automation test
Zhida Lan
 
Fifth elephant 2017 Data Pipeline workshop
Ketan Khairnar
 
qLabs How To Get Maximum RoI Using Test Automation
guest221c8e
 

Similar to Audit and syslog lightning talk (20)

PDF
(ATS6-APP01) Unleashing the Power of Your Data with Discoverant
BIOVIA
 
PPTX
Deep-Dive to Application Insights
Gunnar Peipman
 
PPTX
Overview PowerPlatform PowerApss
Juan Fabian
 
PDF
Avanttic tech dates - de la monitorización a la 'observabilidad'
avanttic Consultoría Tecnológica
 
PDF
Visual Studio Profiler
Betclic Everest Group Tech Team
 
PDF
Feature drift monitoring as a service for machine learning models at scale
Noriaki Tatsumi
 
PPTX
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
 
PDF
Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Karl Ots
 
PPTX
Appmotives - Software Testing As Service
Kalyan Paluri
 
PDF
Web adi webcast_v3
Bala Nagella
 
PPTX
Performance monitoring in a DevOps World
Solidify
 
PDF
Azure Monitoring Overview
gjuljo
 
PDF
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Jitendra Bafna
 
PPTX
Data Stack Summit 2023
Manimuthu Ayyannan
 
PPT
Performance testing jmeter
Bhojan Rajan
 
PDF
Intro to Telegraf
InfluxData
 
PDF
How to Automate your Enterprise Application / ERP Testing
RTTS
 
PPTX
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
Agile Testing Alliance
 
PPTX
Thomas Weise, Apache Apex PMC Member and Architect/Co-Founder, DataTorrent - ...
Dataconomy Media
 
PPTX
Big Data Berlin v8.0 Stream Processing with Apache Apex
Apache Apex
 
(ATS6-APP01) Unleashing the Power of Your Data with Discoverant
BIOVIA
 
Deep-Dive to Application Insights
Gunnar Peipman
 
Overview PowerPlatform PowerApss
Juan Fabian
 
Avanttic tech dates - de la monitorización a la 'observabilidad'
avanttic Consultoría Tecnológica
 
Visual Studio Profiler
Betclic Everest Group Tech Team
 
Feature drift monitoring as a service for machine learning models at scale
Noriaki Tatsumi
 
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
 
Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Karl Ots
 
Appmotives - Software Testing As Service
Kalyan Paluri
 
Web adi webcast_v3
Bala Nagella
 
Performance monitoring in a DevOps World
Solidify
 
Azure Monitoring Overview
gjuljo
 
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Jitendra Bafna
 
Data Stack Summit 2023
Manimuthu Ayyannan
 
Performance testing jmeter
Bhojan Rajan
 
Intro to Telegraf
InfluxData
 
How to Automate your Enterprise Application / ERP Testing
RTTS
 
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
Agile Testing Alliance
 
Thomas Weise, Apache Apex PMC Member and Architect/Co-Founder, DataTorrent - ...
Dataconomy Media
 
Big Data Berlin v8.0 Stream Processing with Apache Apex
Apache Apex
 
Ad

Audit and syslog lightning talk

  • 1. Audit: data extractors, data generators and integration with Syslog Ivá Arroyo n Alfresco Developer
  • 2. What is the alfresco Audit?
  • 3. Data Producers What is a data producer?
  • 4. Data Producers PathMapping • The data generate by “data producers” are passing to application through the path mappings Application • An application define how data is mapped, extracted, and recorded without affecting data required by other applications
  • 6. Data extractors and data generators Data Generator • A DataGenerator is a component that produces data without any input i.e. data is produced when a data path is active, but is independent of the values at that path. Data Extractor • A DataExtractor is a component that uses input data to produce some output, either transforming the data or merely outputting the data verbatim
  • 7. AuditQuery Consult each audit application component by a customizable query Normal query (all results) •curl -u <admin user>:<password> "http://<hostname>:<port>/alfresco/service/api/audit/query/<application name>? verbose=true Optional parameters •forward (true|false), sorted upward (true)/ downward (false) by date time •limit (true|false), limit the number of results. •toId, return the results until id specified •value, the value to filter •fromTime/toTime, returns the result by the time interval specified (millisecond)
  • 8. Unifying all of the above in an example
  • 9. Modify the output of audited messages • Why? • Advantages and disadvantages
  • 11. Syslog configuration • Configuration file: /etc/syslog.conf 1.Facilities 2.Log File
  • 12. Log4j: syslog appender and additivity log4j.properties (appender) log4j.appender.syslog=org.apache.log4j.net.SyslogAppender log4j.appender.syslog.syslogHost=localhost log4j.appender.syslog.layout=org.apache.log4j.PatternLayout log4j.appender.syslog.layout.conversionPattern=%m%n log4j.appender.syslog.Facility=local4 log4j.properties (additivity) log4j.logger.org.alfresco.audit.LogAuditImpl=INFO,syslog log4j.additivity.org.alfresco.audit.LogAuditImpl = false
  • 13. Logrotate: master you log files • What is? • How works?
  • 14. Demo
  • 15. Thank You! @ivanscn