Comments (3)
@replacementAI I don't know of a plugin that does that specifically but you would get a lot more eyes on this issue if you post about it on https://forum.opensearch.org.
from opensearch-dashboards.
@replacementAI I am not sure if this will help you or not but if you will be having only one type of image encoded in base64, you can use them without a plugin. I will add an example in a few minutes.
from opensearch-dashboards.
// Create an index
PUT /base64
// Set the mapping up to be keyword so I can use it in aggregations; text would work otherwise
PUT /base64/_mapping
{
"properties": {
"image": {
"type": "keyword"
}
}
}
// Add some images
POST /base64/_doc
{
"image": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCAxNCIgaGVpZ2h0PSIxNCI+PHBhdGggZmlsbD0iI0M5MDAwMCIgZD0iTTEgNmgxMnYySDF6Ii8+PC9zdmc+"
}
POST /base64/_doc
{
"image": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCAxNCIgaGVpZ2h0PSIxNCI+PHBhdGggZmlsbD0iIzE4QjI0QiIgZD0iTTEzIDZIOFYxSDZ2NUgxdjJoNXY1aDJWOGg1eiIvPjwvc3ZnPg=="
}
The I created an index pattern for base64
(my index). I edited the image
field by:
- setting "format" as
Url
- setting "type" as
Image
- setting "URL Template" to
data:image/svg+xml;base64,{{value}}
My images are SVGs and the "URL Template" matches the data-URIs for SVG images.
I then created a Data Table visualization and the images showed fine. However, Area and Bar visualizations were adamant to use the text and I don't think they are hooked to interpret the format correctly.
from opensearch-dashboards.
Related Issues (20)
- [BUG] Some saved searches are not showing up in 'Open' flyout of discover HOT 1
- [BUG] Dashboards fails to come up on main HOT 7
- [BUG] @opensearch-dashboards-test/opensearch-dashboards-test-library is causing bootstrap errors for dashboards-maps HOT 2
- Add functional tests for handling of long numerals
- Add functional test for search embeddable in Discover HOT 1
- Function Test Suite 6: Saved Search Embeddable in Dashboard
- Add Observability sample data to Dashboards
- Add Security Analytics sample data to Dashboards
- Export option for data table
- Unable to update index pattern HOT 2
- [BUG] Creating no auth data connection fails validaiton HOT 2
- [MD] Expose properties to allow customization for picker provided by data source plugin HOT 1
- [BUG] opensearch-with-long-numerals runs into timeout HOT 5
- Unknown Sass implementation "sass-embedded" HOT 1
- [BUG] Observability logs explorer date filter
- Sticky search bar positioning
- Update CHANGELOG.md HOT 2
- [PR follow up] Enhance the input string validation
- CVE-2024-27088 (Low) detected in es5-ext-0.10.59.tgz
- [Feature][MDS] TSVB support with Multi data source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensearch-dashboards.