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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...