Hi Nishant,
In
http://druid.io/docs/latest/Rule-Configuration.html, for "dropByPeriod" it states that
"The interval of a segment will be compared against the specified period.
The period is from some time in the past to the current time. The rule
matches if the period contains the interval"
If you consider the below example,
Current time is: 31st September
dataSource Segment interval is: 15th/16th Sept
If i consider the rule { "type" : "dropByPeriod", "period" : "P1M" }
then period will be
1st Sept - 31st Sept.
Segment interval matches with the period which is mentioned above and the segment will be dropped. But the segment is not one moth old yet.
My question is,
How to drop only the segments which are N month old?
Thanks
Daya