Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ea4501c
Initial import from elastic-package create package
zmoog Oct 28, 2024
f188321
Add azure_logs to CODEOWNERS
zmoog Oct 28, 2024
a892a79
Fix owner
zmoog Oct 28, 2024
5718f2c
Switch license to Elastic-2.0
zmoog Oct 28, 2024
1d586c5
Add pipeline override option
zmoog Oct 29, 2024
234f06e
Replace stock logo with the standard inputs logo
zmoog Oct 29, 2024
31e9012
Add integration docs
zmoog Oct 29, 2024
e55bc81
Add tags, processors, and sanitization settings
zmoog Oct 29, 2024
e678854
Add parse_message config option
zmoog Oct 29, 2024
c11a733
Add route_message config option
zmoog Oct 29, 2024
86962f7
Remove route_message option
zmoog Oct 30, 2024
2d6035c
Remove parse_message option
zmoog Oct 30, 2024
5fd7295
Make clear we're fetching logs from event hub
zmoog Oct 30, 2024
8a3a010
Update change log and remove build info
zmoog Oct 30, 2024
c07ad7e
Add observability category
zmoog Oct 30, 2024
53288b9
Update packages/azure_logs/docs/README.md
zmoog Oct 30, 2024
003ef00
Update packages/azure_logs/docs/README.md
zmoog Oct 30, 2024
1f2a92e
Update docs source
zmoog Oct 30, 2024
de5fd1a
Remove "Input" from the package name
zmoog Oct 31, 2024
ab31c45
Update packages/azure_logs/docs/README.md
zmoog Nov 5, 2024
6b6249d
Update packages/azure_logs/docs/README.md
zmoog Nov 5, 2024
1bce5ab
Update packages/azure_logs/docs/README.md
zmoog Nov 5, 2024
eca52aa
Make Storage Account naming more consistent
zmoog Nov 5, 2024
c994eb7
Assign ownership to @elastic/obs-infraobs-integrations
zmoog Nov 6, 2024
98ddfe0
Edit integration docs
zmoog Nov 6, 2024
cee2051
Update packages/azure_logs/docs/README.md
zmoog Nov 7, 2024
42638aa
Update packages/azure_logs/docs/README.md
zmoog Nov 7, 2024
72e874c
Update packages/azure_logs/docs/README.md
zmoog Nov 7, 2024
eded55a
Update packages/azure_logs/docs/README.md
zmoog Nov 7, 2024
9a04b31
Update packages/azure_logs/docs/README.md
zmoog Nov 7, 2024
d7c0c87
Apply suggestions from code review
zmoog Nov 7, 2024
985e4d1
Apply suggestions from code review
zmoog Nov 7, 2024
deb9961
Update Event Hubs naming
zmoog Nov 7, 2024
056f44f
Add build.yml
zmoog Nov 7, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
/packages/azure_functions @elastic/obs-infraobs-integrations
/packages/azure_functions/data_stream/functionapplogs @elastic/obs-infraobs-integrations
/packages/azure_functions/data_stream/metrics @elastic/obs-infraobs-integrations
/packages/azure_logs @elastic/obs-infraobs-integrations
/packages/azure_metrics @elastic/obs-ds-hosted-services
/packages/azure_metrics/data_stream/compute_vm @elastic/obs-ds-hosted-services
/packages/azure_metrics/data_stream/compute_vm_scaleset @elastic/obs-ds-hosted-services
Expand Down
93 changes: 93 additions & 0 deletions packages/azure_logs/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor’s trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.
3 changes: 3 additions & 0 deletions packages/azure_logs/_dev/build/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
ecs:
reference: "git@v8.11.0"
402 changes: 402 additions & 0 deletions packages/azure_logs/_dev/build/docs/README.md

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions packages/azure_logs/agent/input/input.yml.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{{#if connection_string}}
connection_string: {{connection_string}}
{{/if}}
{{#if storage_account_container }}
storage_account_container: {{storage_account_container}}
{{else}}
{{#if eventhub}}
storage_account_container: azure-eventhub-input-{{eventhub}}
{{/if}}
{{/if}}
{{#if eventhub}}
eventhub: {{eventhub}}
{{/if}}
{{#if consumer_group}}
consumer_group: {{consumer_group}}
{{/if}}
{{#if storage_account}}
storage_account: {{storage_account}}
{{/if}}
{{#if storage_account_key}}
storage_account_key: {{storage_account_key}}
{{/if}}
{{#if pipeline}}
pipeline: {{pipeline}}
{{/if}}
{{#if resource_manager_endpoint}}
resource_manager_endpoint: {{resource_manager_endpoint}}
{{/if}}
data_stream:
dataset: {{data_stream.dataset}}
tags:
{{#if preserve_original_event}}
- preserve_original_event
{{/if}}
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
sanitize_options:
{{#if sanitize_newlines}}
- NEW_LINES
{{/if}}
{{#if sanitize_singlequotes}}
- SINGLE_QUOTES
{{/if}}
6 changes: 6 additions & 0 deletions packages/azure_logs/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# newer versions go on top
- version: "0.1.0"
changes:
- description: Add Custom Azure Logs to collect log events from Azure Event Hubs
type: enhancement
link: https://github.com/elastic/integrations/pull/11552
Loading