PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

abap-fluentd

A Fluentd client written in ABAP for sending log lines from an ABAP system to a Fluentd collector, where entries are flushed with an explicit COMMIT WORK.

Fluentd client in ABAP: the sample usage shows an OData handler class creating a logger against an instance name, zcl_fdlog with iv_inst_name = 'ZHELLO_ODATA', and calling it to record each entity-set request and an error such as a developer not found. Log entries have to be flushed with an explicit COMMIT WORK, which the README calls out in capitals as the step not to forget. It stops at sending entries into Fluentd; what happens to them after that is Fluentd's own pipeline, which the README illustrates with a Kibana screenshot.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
LoggingABAPLoggingcapabilitySeeing what a running service did, in a form something can read afterwards — levels, a formatter that suits a laptop and one that suits a log service.
Requires
abapGitabapGitartifactInstalls the repository into the ABAP system; the README gives abapGit as the way to clone or import it.

Who is behind it

Chairat Onyaem (Par)Chairat Onyaem (Par)PersonMaintains this
In the atlas: maintains 2, contributes to 2
@pacroy
maintainer

Before choosing this

Signals

ActivityQuietNo published releases; repository quiet for 96 months

It publishes no releases, and its repository has been quiet for at least 24 full months. This may be normal for stable software; check whether its current state still fits your use.

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
Inside its host
Distributed through
abapGit

Connections2

README

quoted from pacroy/abap-fluentd under MIT, read
pacroy/abap-fluentd/README.mdOn GitHub

Fluentd client in ABAP

Clone or import using abapGit

Sample Usage

CLASS zcl_zhello_dpc_ext IMPLEMENTATION.

  METHOD constructor.
    super->constructor( ).
    ao_developer = NEW zcl_hello_developer_persist( ).
    ao_fdlog = NEW zcl_fdlog( iv_inst_name = 'ZHELLO_ODATA' ).
  ENDMETHOD.

  METHOD developerset_get_entityset.

    ao_fdlog->i( |GET { iv_entity_set_name }| ).

    et_entityset = ao_developer->select_developer_set( ).

    COMMIT WORK.
  ENDMETHOD.

  METHOD developerset_get_entity.
    ao_fdlog->i( |GET { iv_entity_name }| ).
    ao_fdlog->i( |Key: { /ui2/cl_json=>serialize( it_key_tab ) } | ).

    DATA(lo_message) = mo_context->get_message_container( ).

    er_entity = ao_developer->select_developer( CONV #( it_key_tab[ name = 'ID' ]-value ) ).
    IF ( er_entity IS INITIAL ).
      lo_message->add_message_text_only(
        EXPORTING
          iv_msg_type = 'E'
          iv_msg_text = 'Developer not found' ).

      ao_fdlog->e( |Developer not found| ).

      RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
        EXPORTING
          textid            = /iwbep/cx_mgw_busi_exception=>resource_not_found
          message_container = lo_message.
    ENDIF.

    COMMIT WORK.
  ENDMETHOD.

ENDCLASS.

DO NOT FORGET TO COMMIT WORK

MIT, read
Logging
  1. ABAP-LoggerLogging library for ABAP over the Application Log
  2. abap-log-exporterExports Business Application Log entries to Graylog or Loki
  3. ABAP-PRCFramework for multi-step ABAP processes with monitoring
  4. abap-logABAP logging library with one interface across output targets
  5. ABAP_LOGGINGObject-oriented wrapper around the Business Application Log
  6. abap-cloud-loggerChainable logger for ABAP Cloud around CL_BALI_LOG
  7. abap-fm-loggerLogger storing RFC function module call parameters as JSON
  8. open-abap-balApplication logging for ABAP transpiled to JavaScript on Node.js
  9. sap-usi-logging-apiObject-oriented wrapper around SAP's Application Log (SLG1)
  10. abap-message-loggerMessage logger for ABAP Cloud that saves to the Application Log

Details

Sources3
dotabapdiscovered herechecked
github.com/pacroy/abap-fluentdtree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viadotabap
first seen in the atlas
ecosystem and domainabap, operations-and-runtime
abaplint
issues under its own abaplint configuration605
lines2,172
statements1,222
objects11
files26
analysed, master
abaplint version2.120.84
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:pacroy-abap-fluentd
JSON
/artifacts/pacroy-abap-fluentd.json
MCP
Connecting an agent