Hi, I wonder whether someone may be able to help me please.
I'm using the following query to create a table in my dashboard:
index=main auditSource=frontend auditType=ExitSurvey detail.manageList!="None"
| append [ search index=main "\"auditSource\":\"agent-frontend\"" "\auditType\":\"ExitSurvey\"" manageList NOT auditSource=*
| spath
| search auditType=ExitSurvey detail.manageList!="None"]
| replace /agent/survey With "Manage List"
| contingency tags.path detail.manageList
| append [search index=main auditSource=agent-frontend auditType=ExitSurvey detail.viewPayments!="None"
| append [ search index=main "\"auditSource\":\"agent-frontend\"" "\auditType\":\"ExitSurvey\"" viewPayments NOT auditSource=*
| spath
| search auditType=ExitSurvey detail.viewPayments!="None"]
| replace /agent/survey With "View Payments"
| contingency tags.path detail.viewPayments ]
| search tags.path!="TOTAL"
| rename tags.path TO "Question"
| fields Question, 1, 2, 3, 4, 5
| addtotals label=Total
| rename 1 TO "Very Dissatisfied", 2 TO "Dissatisifed", 3 TO "Neither", 4 TO "Satisfied", 5 TO "Very Satisfied"
The query works, but I'm now coming up against the problem of the 50,000 row limit because of the 'append' command.
I'm now looking to change this and incorporate the 'multisearch' command instead of the 'append'.
I can get so far a show below,
| multisearch
[ search index=main auditSource=agent-frontend auditType=ExitSurvey detail.manageList!="None" | replace /agent/survey With "Manage List"]
[ search index=main "\"auditSource\":\"agent-frontend\"" "\auditType\":\"ExitSurvey\"" manageList NOT auditSource=*
| spath
| search auditType=ExitSurvey detail.manageList!="None"]
[ search index=main auditSource=agent-frontend auditType=ExitSurvey detail.viewPayments!="None" | replace /agent/survey With "View Payments"]
[ search index=main "\"auditSource\":\"agent-frontend\"" "\auditType\":\"ExitSurvey\"" viewPayments NOT auditSource=*
| spath
| search auditType=ExitSurvey detail.viewPayments!="None"]
| contingency tags.path detail.manageList
| contingency tags.path detail.viewPayments
| search tags.path!="TOTAL"
| rename tags.path TO "Question"
| fields Question, 1, 2, 3, 4, 5
| addtotals label=Total
| rename 1 TO "Very Dissatisfied", 2 TO "Dissatisifed", 3 TO "Neither", 4 TO "Satisfied", 5 TO "Very Satisfied"
but the problem I have is with these rows:
| replace.....
| contingency....
I just wondered whether someone could possible look at this please and offer some guidance on how I may be able to accomplish this.
Many thanks and kind regards
Chris
... View more