Splunk Search

Rename command

prettysunshinez
Explorer

What does
|rename field* AS * do.
How to rename the fields when there are more no.of fields.

Thanks

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @prettysunshinez,
you can rename more fileds at the same time, see this example:

index=_internal
| rename date* AS time*

Ciao.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...