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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...