...
A-Stack Runtime Environment deploy and manage can be done using TQLConsole ThingsSpace Configurator User interface or using TQL Command Line Interface (TQL CLI).
...
Following Search Fields are available:
Elastic Search Queries
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
To display all logs that are having fields.type is 'SffReport'
{
"query": {
"match": {
"fields.type": {
"query": "SffReport",
"type": "phrase"
}
}
}
}
To display all logs that are having loglevel is 'WARN'
{
"query": {
"match": {
"loglevel": {
"query": "WARN",
"type": "phrase"
}
}
}
}
To display all logs that are having fields.port is '8085'
{
"query": {
"match": {
"fields.port": {
"query": "8085",
"type": "phrase"
}
}
}
}
To display all logs those are having fields.host is '172.31.48.38'
{
"query": {
"match": {
"fields.host": {
"query": "172.31.48.38",
"type": "phrase"
}
}
}
}
To display all logs that contains are 'SubmitSequence' in SffReportsData tag
{
"query": {
"match": {
"SffReportsData": {
"query": "*SubmitSequence*",
"type": "phrase"
}
}
}
}
To display all logs that contains are 'SffSequenceFacet' in message tag
{
"query": {
"match": {
"message": {
"query": "*SffSequenceFacet*",
"type": "phrase"
}
}
}
}
|