Splunk® Cloud Services

SPL2 Search Reference

flatten command syntax details


The required syntax is in bold.

flatten <object-field>

Required arguments

Syntax: <object-field>
Description: The name of the field that contains an object, whose key-value pairs you want to promote into individual fields.

Optional arguments


See also

flatten command
flatten command overview
flatten command usage
flatten command examples
Last modified on 03 June, 2020
flatten command overview   flatten command usage

This documentation applies to the following versions of Splunk® Cloud Services: current

Was this topic useful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters