Skip to main content

azure-data-collector

What is it?

azure-data-collector is a Python client package for uploading events to Azure Monitor/Log Analytics workspace using the data collector api.

How do I use it?

    from azuredatacollector.datacollector import DataCollectorClient

    # Setup client
    client = DataCollectorClient(
        WORKSPACE_ID, SHARED_KEY
    )

    # Upload data without proxy
    test_data = [{"col": "row1"}, {"col": "row2"}, {"col": "row3"}]
    client.post_data(test_data, "TestLATable")

    # Upload data with proxy
    client.proxies = {"http": "http://127.0.0.1:8080"}
    metric = client.post_data(test_data, "TestLATable")

Reference

https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-collector-api

Metadata

Release files for azure-data-collector 0.1.5

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

Source distribution (sdist)

Source distribution for azure-data-collector 0.1.5
File Size Uploaded Provenance Actions
azure-data-collector-0.1.5.tar.gz 6.0 kB Without provenance Details for azure-data-collector-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azure-data-collector 0.1.5
File Interpreter ABI Platform Actions
azure_data_collector-0.1.5-py3-none-any.whl Python 3 none any Details for azure_data_collector-0.1.5-py3-none-any.whl

Total release size: 11.5 kB

Release files / azure-data-collector-0.1.5.tar.gz

Download URL azure-data-collector-0.1.5.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2756bca99c6bbe988deb202a8498b78e1dddaa9689f91974ab0a1917bbe00910
BLAKE2b-256 checksum
How to use checksums
575a992304e048a32bdd9d1ff1c2c1dc9d379fff6392832052af25ee5bc36935
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release files / azure_data_collector-0.1.5-py3-none-any.whl

Download URL azure_data_collector-0.1.5-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76da10a1e4a333b2949778c9ab45021a596960cff1135f3efbf9d12826bc73e7
BLAKE2b-256 checksum
How to use checksums
3388c753dbd971ee80445b3a5584b0a46f4d578180c7ea1839d8aefb8bffdfdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Security for azure-data-collector 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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