OpenSearch-Dashboards: [BUG] Re2 Requires a higher NODE_MODULE_VERSION

Describe the bug

node-re2 so that we can safely use the regular expressions specified by end-users in Timelion see version conflict error when using v1.2 on arm instance.

v1.2: Screen Shot 2022-04-07 at 22 52 08

main (2.0): Screen Shot 2022-04-08 at 10 13 33

To Reproduce create v1.2 graviton2 domain                                                                                              logon to OpenSearch and load sample web log data                                                                    go to visualize and select to create a timelion visualization        run expression:

.es(*).label('all', '.*')

Expected behavior fix the error

OpenSearch Version v1.2 +

Dashboards Version v1.2 +

Plugins no plugin

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (14 by maintainers)

Commits related to this issue

Most upvoted comments

node-re2-experimental

Thanks @AMoo-Miki for providing node-re2 redistribution. my original question is what’s our build process for OSD arm artifacts. Now, I have one more question about build/redistribution process for node-re2 ARM

There are opportunities to improve here, shall we discuss, at least add an item to backlog.

@seraphjiang, I maintain the arm64 builds for node-re2 in a personal capacity. It involves a manual triggering of npm i re2@1.15.4 on an arm64 environment. Then the artifacts are uploaded for consumption.

@ananzh can you please verify that these work for the 1.x branch?

https://d1v1sj258etie.cloudfront.net/node-re2-experimental/1.15.4/linux-arm64-64.gz
https://d1v1sj258etie.cloudfront.net/node-re2-experimental/1.15.4/sha256sum.txt.asc