Create Rule populate ElasticSearch

I’ve config a rule with elastic search:
content changed (event.type == ‘Published’) for several schemas and to populatate elasticsearch index I set for Deletion params event.type == ‘Unpublished’ || event.type == ‘Deleted’ .

The elaticsearch index has been created but when I change the content status to Archived o Draft I aspect the content to be not searchable on kibana.

Thanks in advance,

Federica

Environment

  • [X ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]

Browser:

  • [ X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Can you make a screenshot?

Can you also show me the logs of the rule events?

Hi Sebastian,
here the screen!

In the first screen you filter out ‘Unpublished’ events, you have to change it to

event.type === 'Published' ||event.type === 'Unpublished || ...

Thanks!
Now is correct!

Federica

1 Like