Splunk Search

How to display message related to particular fields?

manohart31
New Member

page="MIR" postid="2824567904373133_10151428930538134" message="Foot stools from MI..." time="2013-01-21" likes="188" comments="9" fromid="282904373133" picCount="1" videocount="0" linlcount="0" shares="0"

tried this query: sourcetype="..." |stats max(likes) as likes by page| table page,likes, message

My intention is to display a message with max likes but the above query does not work

Tags (2)
0 Karma

ranjyotiprakash
Communicator

Use the following command to get a list which contains pages and max likes as columns :

.... | chart max(likes) AS Likes by page

Have a look at following Splunk Documentation :
link text

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