How to pull logs with specific date range from aws cloudwatch logs


(ssh) #1

hi there!

1 ) i would like to pull the logs with specific date range or specific log from aws cloudwatch logs.

for eg:

i have 1-20 days logs.
but i want to pull 3-9 days logs via logstash server.

is that possible?

2 ) i would like to pull the logs with former count from aws cloudwatch logs.

for eg:

i have 70,000 log events at aws cloudwatch logs.
but i want to pull former 15,000 log events only via logstash server.
is that possible?


(ssh) #2

hi everyone!

i found start_position=> sec option for cloudwatch log input plugin
as far as i know , not possible to pull the logs specific date range eg. 2017-12-05 ~ 2017-12-09

if other way have, do let me know


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.