I'm still sifting through the 'realated questsions' proposed in "Ask a Question" (great feature btw), but I don't think my senario is covered.
I have a search set to run every 24 hours to sumarize the previous 24 hours stats.
host="HOSTSBLAH*" (source="/usr/local/tvs/apache-tomcat/logs/qlogger/*" NOT source="*.gz")
| lookup Market_by_Controller_ID Controller_ID as Controller_ID OUTPUT Market as Market
| eval QueryFirstTwo=substr(TextQuery,1,2)
| transaction MAC, QueryFirstTwo maxspan=5m maxpause=1m delim="," mvlist=TextQuery
| eval LastQuery=mvindex(TextQuery, -1)
| fillnull value=0 forward
| eval MAC="salt".MAC
| eval MAC=md5(MAC)
| stats count(LastQuery) by Market, Controller_ID, StreamingServerID, forward
| fields count LastQuery, Controller_ID StreamingServerID Market forward MAC
| collect addtime=true index=dashboard_summarize
Data is getting into the index, but none of the fields that have been 'EVAL'ed at some stage. So in this example, LastQuery, forward and MAC are NULL in the summary index. If I take the stats stanza out, the data is collected. It seems odd/bug-like to me that STATS would some how null out EVAL'ed fields.
I've taken the stats stanza out and am moving on with my life. I'll generate the stats in a separate query, but again, I'm puzzled why they'd be NULL in the summary. Are there other cases like this that I need to watch out for?
Cheers,
Rich
... View more