Splunk Search

Unable to get data on statistics using stats

vplunk
Explorer

Hi , 

I am trying to run a splunk query and i am able to generate the required filed . however i am facing difficulties in replicating the same using stats under statistics table 

For example , 

Under selected filed , I was able to retrieve the required fields , lets say User, host, IP, LP and session 

When i use the below command 

stats values(User) AS user , values(host) AS host, values(LP) AS LP, values(IP) AS IP BY session

Session is common and appears for all.

But i am able to see only host , session , LP values under statistics but user and IP values are not being displayed although they are available under the selected field. ( when you look into events tab)

Any help would be appreciated !!

Labels (1)
0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...