I am building a custom dashboard where I would like to display all my users search queries, top queries, top queries no results and many other statistics for the past 1 year using elastic app search analytics API (Analytics APIs | Elastic App Search Documentation [7.16] | Elastic). I was wondering whether it is possible to show data prior to 180days as in the elastic app search dashboard it states that “Your analytics are stored for at least 180 days”.
Can I fetch data the for the last one year ?
Can I create a snapshot of the data at the end of the year (before deletion) ?
Can I use ILM (index lifecycle management) to change lifecycle policy from 180-days-default ?
Do I have the ability to change the lifecycle policy for the indices related to the elastic app search ?
Is it possible to track the user created the search query using elasticAppSearch analytics API?
Am I able to fetch data before 7 days using elasticAppSearch analytics API?
Yes, if you change your ILM policy to retain data that long, or disable ILM.
Can I create a snapshot of the data at the end of the year (before deletion) ?
Yes, if you'd changed your ILM policy to retain data that long, or disabled ILM.
Can I use ILM (index lifecycle management) to change lifecycle policy from 180-days-default ?
Yes! See my link above.
Do I have the ability to change the lifecycle policy for the indices related to the elastic app search ?
Yes! See my link above.
Is it possible to track the user created the search query using elasticAppSearch analytics API?
Check out our Tags guide. Since App Search uses a public search key, we don't automatically distinguish one "user" from another. It would be up to you to distinguish users and identify who was searching via a tag. Then you could filter by tag in the Analytics API.
Am I able to fetch data before 7 days using elasticAppSearch analytics API?
Assuming you mean after 7 days - yes! As long as you've configured your ILM policy to retain data that long, or have disabled ILM.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.