Last active
July 27, 2022 07:24
-
-
Save CHARITH1995/4088019b87eb3d81e51be15103fa1d08 to your computer and use it in GitHub Desktop.
login.js file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"query": { | |
"bool": { | |
"filter": [ | |
{ | |
"range": { | |
"@timestamp": { | |
"from": "{{period_end}}||-1m", | |
"to": "{{period_end}}", | |
"include_lower": true, | |
"include_upper": true, | |
"format": "epoch_millis", | |
"boost": 1 | |
} | |
} | |
}, | |
{ | |
"match_phrase": { | |
"@Module_Name": { | |
"query": "Admin MS", | |
"slop": 0, | |
"zero_terms_query": "NONE", | |
"boost": 1 | |
} | |
} | |
} | |
], | |
"adjust_pure_negative": true, | |
"boost": 1 | |
} | |
}, | |
"aggregations": { | |
"when": { | |
"min": { | |
"field": "@Time_Spent" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment