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!

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 ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...