bfansports / dynamodb-to-elasticsearch Goto Github PK
View Code? Open in Web Editor NEWProcess DynamoDB Steams and INDEX, REMOVE, MODIFY corresponding ElasticSearch document
License: MIT License
Process DynamoDB Steams and INDEX, REMOVE, MODIFY corresponding ElasticSearch document
License: MIT License
What do you do about items that is in a table already and it needs to be index by elastic search?
Hi,
It seems some sequences in the makefile is wrong. I am getting the below error when trying to create the function. all the required Env are set and the env file is put in s3 as well.
➜ dynamodb-to-elasticsearch git:(master) ✗ make create/dynamoToES DESC="Process DynamoDB stream to ES"
find build/ -mindepth 1 -not -name setup.cfg -delete
find: build/: No such file or directory
make: *** [build/setup.cfg] Error 1
Is there any plan to supported nested type? https://www.elastic.co/guide/en/elasticsearch/reference/6.3/nested.html
The blog post that you linked to has the IAM role for the Lambda function only able to do a POST, but the es.info() debug function you call requires GET permissions, and the delete functionality will require DELETE as well. Probably worth noting in the README.
Hi,
Based on your post on https://forums.aws.amazon.com/thread.jspa?threadID=243232
I still get forbidden status after signing my request with access key and secret key from IAM roles.
What policy do you grant to your IAM role at Lambda?
What about policy at elastic search?
I have built and uploaded the Lambda function package (manually) and on testing the function in the AWS console, I get the following error:
invalid literal for int() with base 10: 'aws': ValueError
Traceback (most recent call last):
File "/var/task/lambda.py", line 33, in lambda_handler
connection_class=RequestsHttpConnection
File "/var/task/elasticsearch/client/__init__.py", line 171, in __init__
self.transport = transport_class(_normalize_hosts(hosts), **kwargs)
File "/var/task/elasticsearch/client/__init__.py", line 41, in _normalize_hosts
if parsed_url.port:
File "/usr/lib64/python2.7/urlparse.py", line 113, in port
port = int(port, 10)
ValueError: invalid literal for int() with base 10: 'aws'
Please note:
lambda.py
is exactly the same file as src/DynamoToES/index.py
That's the format of the Elasticsearch cluster URL:
arn:aws:es:eu-central-1:29490xxxxx:domain/frxxxx
I’m not a Makefile expert, but it looks like line 1 is resetting the PROFILE environment variable? I couldn’t get this to work until I deleted the line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.