Request per minute


(Sergey) #1

Hello!!!
I need to create program for request elastic data each minute. What i have to do?
Show me first step please:)


(Magnus B├Ąck) #2

That could be a job for a simple curl command that you run via a cron job, but without more details it's hard to give more detailed advice.


(Sergey) #3

@magnusbaeck
Thanks for you reply!!!

  1. My server sends data with a cell called "UserCount" into elasticsearch every minute. I want to get this UserCount value and check if it is > 0;
  2. Also every request I have to compare the current time with the latest data time in elasticsearch. And if the difference is more than 3 mins I should get it.

(system) #4