Hey Guys,
I have the query below that brings me the values of the fields in a table, however I need that when the field "name_genesys" is equal to the field "user_genesys" cannot be displayed in the table, is there any way to restrict this view?
index=teste
| table _time, object_genesys, name_genesys, DBID_genesys, type_genesys, configuration_genesys, user_genesys | sort - _time
Results:
_time object_genesys name_genesys DBID_genesys type_genesys configuration_genesys user_genesys
2020-10-15 14:04:11.259 | cfg1 | default | 134452 | ConfigurationServer | csp243 | default |
2020-10-15 14:04:09.364 | cfg2 | 123434 | 43434 | Configure | agd_tm3 | agent1 |
Use a where clause to filter out undesired events.
index=teste
| where NOT name_genesys=user_genesys
| table _time, object_genesys, name_genesys, DBID_genesys, type_genesys, configuration_genesys, user_genesys
| sort - _time
Use a where clause to filter out undesired events.
index=teste
| where NOT name_genesys=user_genesys
| table _time, object_genesys, name_genesys, DBID_genesys, type_genesys, configuration_genesys, user_genesys
| sort - _time