Skip to main content

Hitachi Content Platform (HCP) logs access to its REST-based interfaces on a regular basis and keeps these logs for 30 days. While access to these logs was possible by downloading the internal logs using the System Management Console (SMC) since HCP version 7.0, it was a quite cumbersome manual task to extract the logs from the provided zip-file.

HCP version 7.2 invented a Management API (MAPI) endpoint that allows to selectively access parts (or all) of the internal logs.

The HCP access log collection utility tool concentrates on downloading the access logs only, enabling users to collect (and archive) these logs on a regular basis.

Features

  • Collects access logs for the REST-based interfaces from HCP systems

  • Supports collection from multiple HCP systems in a single run

  • Stores them in a defined folder structure in a local folder and/or in an HCP Namespace for later processing

Dependencies

You need to have at least Python 3.4.3 installed to run hcplogs.

It depends on these packages:

  • hcpsdk - Used for access to HCP.

Documentation

To be found at readthedocs.org

Installation

Install hcplogs by running:

$ pip install hcplogs

-or-

get the source from gitlab.com, unzip and run:

$ python setup.py install

-or-

Fork at gitlab.com

Contribute

Support

If you’ve found any bugs, please let me know via the Issue Tracker; if you have comments or suggestions, send an email to mailto:sw@snomis.de

License

The MIT License (MIT)

Copyright (c) 2015 Thorsten Simons (sw@snomis.de)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for hcplogs 2.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hcplogs 2.0.9
File Size Uploaded
hcplogs-2.0.9.tar.gz 13.6 kB Details

Release files / hcplogs-2.0.9.tar.gz

Download URL hcplogs-2.0.9.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cffc063e808ebc62620ec7e15c25785d70dfc3058b0804fcd60dbb85145f30d6
BLAKE2b-256 checksum
How to use checksums
f5c9964b026a336b2109970d1c96f17c6538e9af9955f0cf50ab8e159460f0d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0.9 This release

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page