Skip to content

[Transform] Transforms with unattended flag don't create destination index unless all conditions/fields exist in source index #104146

Open
@susan-shu-c

Description

@susan-shu-c

Description

We added the unattended flag to transforms shipped in integration packages (example: elastic/integrations#8320).

In the past, without the unattended flag, once the package is installed on a fresh cluster:

Now, with the unattended flag, on a fresh cluster:

  • Transform is installed
  • Destination index doesn't seem to be created successfully

After testing on v8.11.1 (so that this fix #101627 would be there), transforms with the unattended flag don't seem to create the destination index like without the unattended flag.

It turns out, the destination index is only created when there is exact data that matches the criteria (e.g. fields host.name, destination.ip, etc. exist in logs-*) for the transform to run, compared to before, the destination index can be created regardless. This gives the impression that the package hasn't fully been installed.

What we want to clarify is: Is this expected behavior with the unattended flag?
If so, can it be implemented so the behavior is the same as before (create destination index regardless of available data) so that it's clearer to users when the transform and associated indices have been created?

Related links

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions