How to do elasticsearch data comparison


I have index named security, where i indexed a website log.
I need to create a query for calculating how many people connected to site this month and last month, then compare the count .

Is there a way to do compare 2 months data in query ??


I am sure there is! But first a few questions.

  1. Whats the index look like?
  2. What have you tried so far?
  3. Which docs have you looked at?


1 Like

I have 2 log index. one for the traffic and other for error listing.
I need to create a new index by combining some fields of both indices.

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