Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to create an input package for the Elastic Agent #97

Open
zmoog opened this issue Oct 28, 2024 · 3 comments
Open

Figure out how to create an input package for the Elastic Agent #97

zmoog opened this issue Oct 28, 2024 · 3 comments
Assignees
Labels

Comments

@zmoog
Copy link
Owner

zmoog commented Oct 28, 2024

No description provided.

@zmoog zmoog added the research label Oct 28, 2024
@zmoog zmoog self-assigned this Oct 28, 2024
@zmoog
Copy link
Owner Author

zmoog commented Oct 28, 2024

Using elastic-package v0.106.0

$ elastic-package version
elastic-package v0.106.0 version-hash e76f23b0 (build time: 2024-10-16T18:38:00+02:00)

$ elastic-package create package --help
Use this command to create a new package.

The command can bootstrap the first draft of a package using embedded package template and wizard.

Usage:
  elastic-package create package [flags]

Flags:
  -h, --help   help for package

Global Flags:
  -C, --change-directory string   change to the specified directory before running the command
  -v, --verbose                   verbose mode

@zmoog
Copy link
Owner Author

zmoog commented Oct 28, 2024

[azure_logs] elastic-package create package 
Create a new package
? Package type: input
? Package name: azure_logs
? Version: 0.1.0
? License: Apache-2.0
? Package title: Custom Azure Logs Input
? Description: Collect log events from Azure Event Hubs with Elastic Agent
? Categories:  [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
? Categories: azure, custom
? Kibana version constraint: ^8.13.0
? Required Elastic subscription: basic
? Github owner: elastic/obs-ds-hosted-services
? Owner type: elastic
? Input Data Stream type: logs
? Enable creation of subobjects for fields with dots in their names? Yes
New package has been created: azure_logs
Done

$ tree
.
├── LICENSE.txt
├── agent
│   └── input
│       └── input.yml.hbs
├── changelog.yml
├── docs
│   └── README.md
├── fields
│   └── base-fields.yml
├── img
│   ├── sample-logo.svg
│   └── sample-screenshot.png
└── manifest.yml

5 directories, 8 files

@zmoog
Copy link
Owner Author

zmoog commented Oct 28, 2024

Created a PR in draft elastic/integrations#11552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

1 participant