News for hackers. Stuff that matters.
Re:Ask HN: How do you analyze logs? by JamesHollinger on Tuesday February 03, 2015 @03:51PM (#8993267)
Sumo Logic currently has the ability to extract known fields on ingest, making them available for searches, much like the Splunk query provided above. Dynamic fields, such as new KVPs that are logged out are able to be pulled out in the query with one extra step, as follows:

| kv infer "event","price" | sum(price) by event | where price >2

The kv operator refers to key value pairs. There is also a json operator which functions the same way.

There are no comments on this comment yet.