Splunk Search

Why are Interesting Fields not yielding complete values in the search result?

muguniya
Explorer

Hi,

When a blank space is introduced in values, the search results are not yielding complete values. Please see details below.

Event in Splunk looks like:

id=43777924d6-fda8-4c2b-9884-2f85c6f84b4e
queryType=join
accountName=Test Acc
anchor=
applicationName=Test Application
siteName=PUSH to Test Site

My current search and result using the table command:

index=db-general source="dbmon-tail://Logging*" | table accountName,applicationName,siteName

Actual Search Result in Table format does not have complete values for accountName, applicationName, siteName:

accountName    applicationName    siteName↕ 
Test           Test               PUSH  

Expected result should be as shown below:

accountName    applicationName    siteName
Test Acc       Test Application   PUSH to Test Site

Any help in this regard is much appreciated.

Thanks.

0 Karma

vinitatsky
Communicator

http://answers.splunk.com/answers/49390/field-with-single-value-but-value-has-spaces.html
I hope this helps.

Also you can check if 'accountNameWithSpace' is giving correct value (with spaces)

field=_raw "accountName=(?P[\S\s]+)"
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...