Skip to content

[MongoDb]Updated host.hostname field use FQDN of the host - #4216

Merged
ManojS-shetty merged 8 commits into
elastic:mainfrom
ManojS-shetty:mongo_bugfixes
Oct 18, 2022
Merged

[MongoDb]Updated host.hostname field use FQDN of the host#4216
ManojS-shetty merged 8 commits into
elastic:mainfrom
ManojS-shetty:mongo_bugfixes

Conversation

@ManojS-shetty

@ManojS-shetty ManojS-shetty commented Sep 14, 2022

Copy link
Copy Markdown
Contributor
  • Bug

What does this PR do?

This PR adds the FQDN of the host and refactored the default pipeline.

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.

How to test this PR locally

  • Clone integrations repo.
  • Install elastic-package locally.
  • Configure the mongodb log file path in Integration UI.
  • log data should flow in to the kibana.

Related issues

	modified:   packages/mongodb/changelog.yml
	modified:   packages/mongodb/data_stream/log/elasticsearch/ingest_pipeline/default.yml
	modified:   packages/mongodb/data_stream/log/fields/base-fields.yml
	modified:   packages/mongodb/data_stream/log/fields/ecs.yml
	modified:   packages/mongodb/docs/README.md
	modified:   packages/mongodb/manifest.yml
@ManojS-shetty ManojS-shetty self-assigned this Sep 14, 2022
@elasticmachine

elasticmachine commented Sep 14, 2022

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-10-18T06:13:27.846+0000

  • Duration: 15 min 51 sec

Test stats 🧪

Test Results
Failed 0
Passed 29
Skipped 0
Total 29

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

elasticmachine commented Sep 14, 2022

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (3/3) 💚 2.759
Classes 100.0% (3/3) 💚 2.759
Methods 81.818% (27/33) 👎 -8.431
Lines 70.248% (85/121) 👎 -21.253
Conditionals 100.0% (0/0) 💚
@ManojS-shetty
ManojS-shetty marked this pull request as ready for review September 14, 2022 11:09
@ManojS-shetty
ManojS-shetty requested a review from a team as a code owner September 14, 2022 11:09
	modified:   packages/mongodb/changelog.yml
	modified:   packages/mongodb/data_stream/log/elasticsearch/ingest_pipeline/default.yml
	modified:   packages/mongodb/data_stream/log/fields/base-fields.yml
	modified:   packages/mongodb/docs/README.md
@ManojS-shetty ManojS-shetty changed the title [MongoDb]Updated ecs fields and default pipeline Sep 27, 2022
@elasticmachine

elasticmachine commented Sep 27, 2022

Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@ManojS-shetty ManojS-shetty added the Team:Service-Integrations Label for the Observability Service Integrations team label Oct 5, 2022
ManojS-shetty and others added 2 commits October 11, 2022 10:11
	modified:   packages/mongodb/changelog.yml
	modified:   packages/mongodb/manifest.yml
@agithomas

Copy link
Copy Markdown
Contributor

@ManojS-shetty , looks like the CI job pr-merge is blocked.
Also, please do see the need of having new sample-events.json checked in with the modified field structure.
Any change in fields.yml ?

	modified:   packages/mongodb/data_stream/log/sample_event.json
	modified:   packages/mongodb/data_stream/log/sample_event.json
@ManojS-shetty

ManojS-shetty commented Oct 11, 2022

Copy link
Copy Markdown
Contributor Author

@ManojS-shetty , looks like the CI job pr-merge is blocked. Also, please do see the need of having new sample-events.json checked in with the modified field structure. Any change in fields.yml ?

@agithomas

  • Addressed CI pr merge conflict.
  • There is no change for fields.yml.
  • sample_event generated has been updated with latest structure.
Comment thread packages/mongodb/docs/README.md
	modified:   packages/mongodb/_dev/build/build.yml
@ManojS-shetty
ManojS-shetty merged commit 558bc94 into elastic:main Oct 18, 2022
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
* Updated ecs fields and default pipeline
	modified:   packages/mongodb/changelog.yml
	modified:   packages/mongodb/data_stream/log/elasticsearch/ingest_pipeline/default.yml
	modified:   packages/mongodb/data_stream/log/fields/base-fields.yml
	modified:   packages/mongodb/data_stream/log/fields/ecs.yml
	modified:   packages/mongodb/docs/README.md
	modified:   packages/mongodb/manifest.yml

* Updated changelog entry
	modified:   packages/mongodb/changelog.yml

* added only fqdn field changes
	modified:   packages/mongodb/data_stream/log/elasticsearch/ingest_pipeline/default.yml
	modified:   packages/mongodb/data_stream/log/fields/base-fields.yml
	modified:   packages/mongodb/docs/README.md

* Updated changelog to address conflicts
	modified:   packages/mongodb/changelog.yml
	modified:   packages/mongodb/manifest.yml

* Updated log sample event json
	modified:   packages/mongodb/data_stream/log/sample_event.json

* Updated sample event json
	modified:   packages/mongodb/data_stream/log/sample_event.json

* Updated the ECS version to latest
	modified:   packages/mongodb/_dev/build/build.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Service-Integrations Label for the Observability Service Integrations team

3 participants