Hello,
I am trying to push cloudwatch metrics via sqs to elastic. How do i go about doing this?
these are for multiple servers and serverless applications
Hello,
I am trying to push cloudwatch metrics via sqs to elastic. How do i go about doing this?
these are for multiple servers and serverless applications
Hi @rpeynado1 Welcome to the community.
There are a number of ways to ingest cloudwatch metrics via SQS or perhaps other ways.
Important:
Elastic Agent is a method you could use. Note for this method you need to provide a VM(s) to run the Elastic Agent on.
There is a blog on this very topic
You can also ingest the metrics directly from Cloudwatch
If you can route your metrics through AWS Firehose you could use this..
hi @stephenb
thank you for the response
i will take a look at those articles. the one with firehouse wont work. i think our infrastructure does not allow it
Sounds like Elastic Agent with the
SQS Input
Or
Just the direct Cloudwatch Metrics integration
would be a good place to start
Note if you have high volume, you can run more than 1 Agent against an SQS queue for parallelization.
@stephenb i do need a server for the elastic agent right? is it possible to use an elastic agent in a serverless environment? forgive me if these are dumb questions i am extremely new to this process
Running agent on ECK / K8s can be done but can be tricky for what you are trying to do. The quickstart is geared toward monitoring the K8s and will be a daemonset... not exactly what you want to do.
You would probably want to convert to a deployment but a daemonset might work.
Otherwise
You can provide a VM(s) to run the Elastic Agent on...
You can run it as a Docker container or deploy it on bare metal.
Ahhh I forgot we also have the Elastic Serverless Forwarder ... perhaps that might be a good fit (I am not an expert on that) but look like it might be a good fit.
thank you so much! i really appreciate it. i will look into these. the serverless forwarder looks promising, but i noticed that it is more geared towards "logs" do you reckon it will work for metrics?
Hmmm ... yeah kinda looks like that...
So Wait... I am confused what are you trying to ingest?
Exactly what metrics?
In the end... It is probably the Simplest... Fastest ...
to Deploy Fleet Managed Elastic Agent on a VM, then you can try all sorts of integration easily... that is what I would do...
Then, I would optimize and scale after you understand what you need, what you are shipping, and what Integration and Processing you need...
In the end you need to roll up your sleeves, pull out the Helmet and Flashlight and give it a try
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.