Splunk Dev

Add new column in indexed data with python

yashjain12yj
New Member

I need to add a new column in the indexed splunk data with the help of python.

eg:

I have a table:
A B
1 2
4 8

I need to add a new column after performing some function.
i.e., adding column C by performing addition of A and B.

New Table should look like this:
A B C
1 2 3
4 8 12

How can I complete this task?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...