All Apps and Add-ons

how can I create new field through splunk rest api

snigdha9nov
Engager

can anybody simply tell me how can I use regular expression to create new field through rest api of splunk by using curl.

Tags (1)
0 Karma

harsmarvania57
Ultra Champion

Hi,

Is this same question compare to this which you asked yesterday https://answers.splunk.com/answers/718063/create-new-field-with-rest-api-of-splunk.html?

0 Karma

snigdha9nov
Engager

yes because I am struggling with it

0 Karma

snigdha9nov
Engager

did a lot but getting error each time....same regular expression working well on splunk web.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...