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 ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...