-
Notifications
You must be signed in to change notification settings - Fork 474
system: convert dashboard visualisations to store by value #5322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🌐 Coverage report
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
The git-generate script requires yarn to be installed. [git-generate] cd packages/system/ elastic-package stack down && elastic-package stack up --version=8.1.0 -d -v git clone --depth=1 https://github.com/flash1293/legacy_vis_analyzer.git ( cd legacy_vis_analyzer git submodule update --depth=1 --init --recursive yarn KIBANA="https://elastic:changeme@localhost:5601" NODE_TLS_REJECT_UNAUTHORIZED='0' node inline.js ../kibana/ ) rm -rf legacy_vis_analyzer gsed -i -r 's/^version: 1\.[0-9]+\.[0-9]+$/version: 1.25.0/' manifest.yml gsed -i '/^# newer versions go on top$/d' changelog.yml echo '# newer versions go on top' >changelog.yml~ cat <<EOF | cat - changelog.yml >>changelog.yml~ && mv changelog.yml{~,} - version: "1.25.0" changes: - description: Convert dashboard visualisations to storage by value. type: enhancement link: elastic#5322 EOF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Just for visibility, there is automated tooling to accomplish this.
@drewdaemon That package is the same as the one that I used here, correct? |
Package system - 1.25.0 containing this change is available at https://epr.elastic.co/search?package=system |
@efd6 great! There's no way for me to know if you used the tool or did it in the dashboard UI, so I wanted to make sure you knew. |
@drewdaemon The commit message has a git-generate script which re-runs the process and shows what was done (excellent tool). |
) The git-generate script requires yarn to be installed. [git-generate] cd packages/system/ elastic-package stack down && elastic-package stack up --version=8.1.0 -d -v git clone --depth=1 https://github.com/flash1293/legacy_vis_analyzer.git ( cd legacy_vis_analyzer git submodule update --depth=1 --init --recursive yarn KIBANA="https://elastic:changeme@localhost:5601" NODE_TLS_REJECT_UNAUTHORIZED='0' node inline.js ../kibana/ ) rm -rf legacy_vis_analyzer gsed -i -r 's/^version: 1\.[0-9]+\.[0-9]+$/version: 1.25.0/' manifest.yml gsed -i '/^# newer versions go on top$/d' changelog.yml echo '# newer versions go on top' >changelog.yml~ cat <<EOF | cat - changelog.yml >>changelog.yml~ && mv changelog.yml{~,} - version: "1.25.0" changes: - description: Convert dashboard visualisations to storage by value. type: enhancement link: elastic#5322 EOF
) The git-generate script requires yarn to be installed. [git-generate] cd packages/system/ elastic-package stack down && elastic-package stack up --version=8.1.0 -d -v git clone --depth=1 https://github.com/flash1293/legacy_vis_analyzer.git ( cd legacy_vis_analyzer git submodule update --depth=1 --init --recursive yarn KIBANA="https://elastic:changeme@localhost:5601" NODE_TLS_REJECT_UNAUTHORIZED='0' node inline.js ../kibana/ ) rm -rf legacy_vis_analyzer gsed -i -r 's/^version: 1\.[0-9]+\.[0-9]+$/version: 1.25.0/' manifest.yml gsed -i '/^# newer versions go on top$/d' changelog.yml echo '# newer versions go on top' >changelog.yml~ cat <<EOF | cat - changelog.yml >>changelog.yml~ && mv changelog.yml{~,} - version: "1.25.0" changes: - description: Convert dashboard visualisations to storage by value. type: enhancement link: elastic#5322 EOF
What does this PR do?
This updates visualisations to store by value.
The operations used are shown in the
git-generate
script in the commit message and can be confirmed (slowly) by runninggit generate
.Output of script from point of cloning the conversion tool.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Install integrations and examine dashboards.
Related issues
Screenshots