Answer the question
In order to leave comments, you need to log in
How to do aggregation in elastic?
Logs of 3 events are recorded in the elastic index:
1. The product was successfully unloaded from 1C
2. The product was successfully imported into the store.
3. When importing goods into the store, there was an error
Example of documents:
{
"type": "EXPORT_1C",
"PRODUCT_ID "=> 12,
"MESSAGE": "..."
},
{
"type": "EXPORT_1C",
"PRODUCT_ID "=> 13,
"MESSAGE": "..."
},
{
"type": "SUCCESS_IMPORT",
"PRODUCT_ID "=> 12,
"MESSAGE": "..."
},
{
"type": "ERROR_IMPORT",
"PRODUCT_ID "=> 234,
"MESSAGE": "..."
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question