Convert Journald integration to input type#5890
Conversation
f227b90 to
6b28837
Compare
|
@jsoriano @hop-dev I think we need to quickly disucss the current spec/format for input packages before we merge this one. I want to see if we can clarify a few things we have issues with.
Looking at the log integration package, it is missing several crucial pieces, so we cant use that as a reference. I thought it would be quickest to discuss this quickly on slack, so we can get a good understanding of the intended format. |
It is mostly the same, yes. Regarding the spec intended format, you can see an input package as a single datastream.
In principle it is also the same, with files under the
According to the spec, in the same place as in integration packages, in
Are you missing other pieces apart of the ones you mention here?
Maybe we can schedule a meeting, including also @hop-dev and @ishleenk17. |
ishleenk17
left a comment
There was a problem hiding this comment.
Datastream name needs to be taken up as input from the user in your journald.yml.hbs file
We don't get the sample event in the docs using the helpers, unlike in integrations. These are some of the input packages already implemented: All of them might not have system tests though. |
Happy to do that. |
Shouldn't we let elastic-package or fleet handle this? We already inject the UI elements to configure this, might as well also inject it into the config? Its easy to forget, because we have to remove the datastream settings from the manifest.yml, but keep it in the *.yml.hbs files. |
Fleet might be the right place to handle this for the input package. |
@ishleenk17 I have some doubts regarding this suggestion. I understand we want let the users do the mapping of non-generic fields. However there are certain fields in input.yml that always appear in events (e.g. |
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
P1llus
left a comment
There was a problem hiding this comment.
LGTM. Let's do the planned manual tests first, then we can merge if its all working as intended.
|
Solved an issue with the mapping of Fixed at 892a487 |
pierrehilbert
left a comment
There was a problem hiding this comment.
If you can just add the link to your E2E tests here it would be perfect!
Other than that, LGTM!
|
Package journald - 1.0.0 containing this change is available at https://epr.elastic.co/search?package=journald |

What does this PR do?
Convert the Journald integration to an input type package according to the specs located here.
It has also been moved to GA by bumping its version to 1.0.0.
Checklist
changelog.ymlfile.Related issues
Screenshots