Hi Vineeth Mohan,
My log central will contain 2 type of log, one is for log to debug/monitor,
other is for stats.
I have 2 ways to achieve it:
#1 , I use only ES, it's ok to log for debug/monitor (using kibana).
To do stats, I will build some extra api (base on
filter/facet/agregration...)
#2, I use ES as external data storage, and write data to ES use Apache Hive
(https://github.com/elasticsearch/elasticsearch-hadoop#apache-hive)
this approach will help me alot in doing stats, but I don't know whether
it's good for logging other info ( to debug/monitor purpose).
Hello All,
I have selected #2 as my solution.
I write data to ES, and use kibana+ to realtime monitor.
For stats, I use Hive.
Each project, I will create a index, for each type of log I will put in a
ES Type,
ex: ProjectX>>log_debug
>>log_error
>>Stats_API
>>Stats_PageView
>>Stats_XYZ
I am wonder whether it's good ?
Should I separate by time for each type of project ?
Hello All,
I have selected #2 as my solution.
I write data to ES, and use kibana+ to realtime monitor.
For stats, I use Hive.
Each project, I will create a index, for each type of log I will put in a
ES Type,
ex: ProjectX>>log_debug
>>log_error
>>Stats_API
>>Stats_PageView
>>Stats_XYZ
I am wonder whether it's good ?
Should I separate by time for each type of project ?
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.