summaryrefslogtreecommitdiffstats
path: root/plugins/omelasticsearch/omelasticsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omelasticsearch/omelasticsearch.c')
-rw-r--r--plugins/omelasticsearch/omelasticsearch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/omelasticsearch/omelasticsearch.c b/plugins/omelasticsearch/omelasticsearch.c
index aea8e321..3e5cb4c5 100644
--- a/plugins/omelasticsearch/omelasticsearch.c
+++ b/plugins/omelasticsearch/omelasticsearch.c
@@ -995,13 +995,13 @@ CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(statsobj.Construct(&indexStats));
CHKiRet(statsobj.SetName(indexStats, (uchar *)"elasticsearch"));
CHKiRet(statsobj.AddCounter(indexStats, (uchar *)"connfail",
- ctrType_IntCtr, &indexConFail));
+ ctrType_IntCtr, CTR_FLAG_RESETTABLE, &indexConFail));
CHKiRet(statsobj.AddCounter(indexStats, (uchar *)"submits",
- ctrType_IntCtr, &indexSubmit));
+ ctrType_IntCtr, CTR_FLAG_RESETTABLE, &indexSubmit));
CHKiRet(statsobj.AddCounter(indexStats, (uchar *)"failed",
- ctrType_IntCtr, &indexFailed));
+ ctrType_IntCtr, CTR_FLAG_RESETTABLE, &indexFailed));
CHKiRet(statsobj.AddCounter(indexStats, (uchar *)"success",
- ctrType_IntCtr, &indexSuccess));
+ ctrType_IntCtr, CTR_FLAG_RESETTABLE, &indexSuccess));
CHKiRet(statsobj.ConstructFinalize(indexStats));
ENDmodInit