Skip to content

[QNAP]: Add support for access logs with user.domain and event logs without any associated user and ip address#17408

Open
maximilianpohle wants to merge 4 commits intoelastic:mainfrom
maximilianpohle:main
Open

[QNAP]: Add support for access logs with user.domain and event logs without any associated user and ip address#17408
maximilianpohle wants to merge 4 commits intoelastic:mainfrom
maximilianpohle:main

Conversation

@maximilianpohle
Copy link
Contributor

Add support for access logs with user.domain and event logs without any associated user and ip address.

Added additional sample event logs as well.

Proposed commit message

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

Related issues

Screenshots

@maximilianpohle maximilianpohle requested a review from a team as a code owner February 13, 2026 10:09
@cla-checker-service
Copy link

cla-checker-service bot commented Feb 13, 2026

💚 CLA has been signed

@maximilianpohle
Copy link
Contributor Author

CLA is signed.

Copy link
Contributor

@bhapas bhapas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update changelog and create a new version.

@andrewkroh andrewkroh added Integration:qnap_nas QNAP NAS (Community supported) Team:Integration-Experience Security Integrations Integration Experience [elastic/integration-experience] labels Feb 13, 2026
@elasticmachine
Copy link

Pinging @elastic/integration-experience (Team:Integration-Experience)

@ilyannn ilyannn self-requested a review February 13, 2026 13:39
Copy link
Contributor

@ilyannn ilyannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run elastic-package build and commit the updated docs/README.md

@github-actions
Copy link
Contributor

✅ 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.

@bhapas
Copy link
Contributor

bhapas commented Feb 13, 2026

/test

1 similar comment
@ilyannn
Copy link
Contributor

ilyannn commented Feb 13, 2026

/test

@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@ilyannn ilyannn self-requested a review February 13, 2026 15:06
Copy link
Contributor

@ilyannn ilyannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have any issues but will defer to others on the grok pattern

@ilyannn ilyannn dismissed their stale review February 13, 2026 15:09

This was fixed

- '^%{SHARED}, Connection type: %{DATA:qnap.nas.connection_type}, Accessed resources: %{RESOURCE}, Action: %{DATA:event.action}$'
pattern_definitions:
SHARED: 'Users: %{USER:user.name}, Source IP: (127.0.0.1|%{IP:source.address}), Computer name: (---|%{HOSTNAME:source.domain})'
SHARED: 'Users: (---|(%{WORD:user.domain}\\)?%{USER:user.name}), Source IP: (---|127.0.0.1|%{IP:source.address}), Computer name: (---|%{HOSTNAME:source.domain})'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will WORDbe too restrictive here? Is the domain guaranteed to not have a .? This won't match the pattern if it includes one. If domain is a NETBIOS-style name, then WORD will be fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven’t seen any domains with dots in the logs, so it would probably be fine—but I switched it to DATA anyway to match the pattern used in other integrations and avoid any edge cases.

@andrewkroh andrewkroh added the documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. label Feb 13, 2026
@bhapas
Copy link
Contributor

bhapas commented Feb 13, 2026

/test

@elasticmachine
Copy link

💚 Build Succeeded

History

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. Integration:qnap_nas QNAP NAS (Community supported) Team:Integration-Experience Security Integrations Integration Experience [elastic/integration-experience]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants