Skip to content

add unix input custom integration#18944

Open
leehinman wants to merge 11 commits into
elastic:mainfrom
leehinman:16945_unix_custom
Open

add unix input custom integration#18944
leehinman wants to merge 11 commits into
elastic:mainfrom
leehinman:16945_unix_custom

Conversation

@leehinman
Copy link
Copy Markdown
Contributor

Proposed commit message

Add custom unix input integration. This is similar to the tcp and udp custom integrations.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

  1. Install stack and integration
  2. Use socat - UNIX-CONNECT:/path/to/socket <line_delimanated_logs.txt
  3. Verify events end up in correct data_stream

Related issues

Screenshots

@leehinman leehinman requested a review from a team as a code owner May 11, 2026 18:28
@leehinman leehinman added enhancement New feature or request Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] labels May 11, 2026
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@andrewkroh andrewkroh added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. New Integration Issue or pull request for creating a new integration package. labels May 11, 2026
@leehinman leehinman marked this pull request as draft May 11, 2026 20:42
@github-actions

This comment has been minimized.

@leehinman
Copy link
Copy Markdown
Contributor Author

Waiting on elastic/stream#201 so we can have a system test.

@leehinman leehinman marked this pull request as ready for review May 13, 2026 21:10
@github-actions

This comment has been minimized.

@leehinman leehinman force-pushed the 16945_unix_custom branch from b535b9f to 79e219f Compare May 14, 2026 16:14
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@leehinman leehinman force-pushed the 16945_unix_custom branch from 79e219f to 6bb96b4 Compare May 14, 2026 17:19
@leehinman leehinman requested review from a team and AndersonQ and removed request for a team May 14, 2026 17:46
@leehinman leehinman requested a review from belimawr May 14, 2026 17:46
Comment thread packages/unix/_dev/build/docs/README.md Outdated
Comment thread packages/unix/fields/beats.yml Outdated
Comment thread packages/unix/manifest.yml
Comment thread packages/unix/manifest.yml Outdated
Comment thread packages/unix/manifest.yml Outdated
Comment thread packages/unix/docs/knowledge_base/service_info.md Outdated
Comment thread packages/unix/_dev/build/docs/README.md Outdated
Comment thread packages/unix/agent/input/unix.yml.hbs
Comment thread packages/unix/agent/input/unix.yml.hbs
Comment thread packages/unix/docs/knowledge_base/service_info.md Outdated
Comment thread packages/unix/docs/README.md
Comment thread packages/unix/manifest.yml
Comment thread packages/unix/manifest.yml
Comment thread packages/unix/fields/beats.yml Outdated
Comment thread packages/unix/kibana/tags.yml
Comment thread packages/unix/manifest.yml
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

TL;DR

Buildkite failed in Check integrations unix because the Unix package docs are internally inconsistent, so the generated README differs from the checked docs and the README freshness lint fails. Align the socket-path example text between the two README sources and rerun package build/lint.

Remediation

  • Update one side so these lines match exactly:
    • packages/unix/docs/README.md:65 currently uses /tmp/elastic-agent.sock
    • packages/unix/_dev/build/docs/README.md:65 currently uses /tmp/example.sock
  • Regenerate package docs (elastic-package build) and rerun the unix package check.
Investigation details

Root Cause

This is a configuration/documentation sync issue (not an infra failure). The unix package README consistency check failed because the docs source files diverged on the Socket Path example value.

Evidence

README.md is outdated. Rebuild the package with 'elastic-package build'
--- want
+++ got
@@ -64,3 +64,3 @@
-    - **Socket Path**: ... (e.g. `/tmp/elastic-agent.sock`).
+    - **Socket Path**: ... (e.g. `/tmp/example.sock`).
Error: checking package failed: checking readme files are up-to-date failed: files do not match
  • File evidence at failing commit (1b3da995dffee2afffaa7c15dfc5581ecdd5b78c):
    • packages/unix/docs/README.md:65/tmp/elastic-agent.sock
    • packages/unix/_dev/build/docs/README.md:65/tmp/example.sock

Verification

  • Not run in this environment (read-only detective workflow); analysis based on Buildkite log + repository content at the failing commit.

Follow-up

After syncing the docs and regenerating, this check should clear unless there are additional README drift changes in the same package.

Note

🔒 Integrity filter blocked 2 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #18944 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • add unix input custom integration #18944 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@leehinman leehinman requested review from AndersonQ and belimawr May 18, 2026 15:22
@leehinman leehinman enabled auto-merge (squash) June 3, 2026 15:04
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

✅ All changelog entries have the correct PR link.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@leehinman
Copy link
Copy Markdown
Contributor Author

@efd6 any chance you can take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request New Integration Issue or pull request for creating a new integration package. Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New Integration] Unix Socket Input

5 participants