Splunk Search

Why is a string value being truncated in my search results?

alwang34
New Member

When I enter a search for my field errorMsg. My results show:

errorMsg="Operation failed due to an unknown error". 

However, when I look at the value for some of my results, the value for errorMsg is just "Operation". I believe the problem may be due to the line being very long and breaking off into a separate line.

How would I make it so all my results display the full errorMsg?
Thanks

Tags (3)
0 Karma

pradeepkumarg
Influencer

Is the field errorMsg auto extracted by splunk? You can enforce the extraction by configuring it in props.conf or specifying it like below in your search

| rex "(?i)errorMsg\=\W(?P.*)\W"

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...