Splunk Search

No results without using wildcard in messagetype in my search

mwinkel
New Member

Hi,
It seems I cannot get any search results without including a wildcard in messagetype.
More specifically:
After searching for messagetype="proposal", no events are shown.
Searching for messagetype="*proposal", events are shown.
Further research also showed that there aren't any special characters involved in the problem.

This is the complete query:

index="*-closecl-*" application="closecl" component="closecl-bfl-ws" 
environment=*
transactionType="notifyParty" messageType="*proposal" | dedup TranID sortby +_time| lookup CloseCLDossierMetaData uid as TranID OUTPUTNEW uid CustomerCode, ProductType, GrossCreditAmount, LabelCode, ProductCode, SourceSystem  | timechart minspan=1d bins=60  dc(TranID) as count | fillnull

Thanks in advance!


updated by dmj to mark code

0 Karma

sbbadri
Motivator

index="-closecl-" application="closecl" component="closecl-bfl-ws" environment=* transactionType="notifyParty" messageType="proposal" | eval messageType=trim(messageType) | rest of your query

0 Karma

DalJeanis
Legend

@sbbadri - be sure to mark your code, please.

0 Karma

DalJeanis
Legend

Run this and post the results, please...

  index="*-closecl-*" application="closecl" component="closecl-bfl-ws"  environment=*
  transactionType="notifyParty" messageType="*proposal"
 | eval myproposal="---".messageType."---"
 | stats count by myproposal
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Can you share some sample data?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...