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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...