How does ES know or FileBeat know -
- How much data to be loaded to store ? i.e. Data within this month only or Data within last 3 months will be loaded only. By loaded I meant stored for searching when a text is searched in Kiabana
- How is the data retention policy set for ES? i.e. a month of data to be stored and rest to be deleted.
Which line of code explains the above ?