I want to search below pattern and result should show ONLY the line which matches the given pattern and that line must be UNIQUE -
Caused by: java.io.NotSerializableException:
How can I achieve this ?
Thanks in advance.
I want to search below pattern and result should show ONLY the line which matches the given pattern and that line must be UNIQUE -
Caused by: java.io.NotSerializableException:
How can I achieve this ?
Thanks in advance.
Below is one way to write your search query to get what you want.
... "Caused by: java.io.NotSerializableException:" | uniq
You can get more information at Splunk's Search Command Reference