Splunk Search

How can I do extract fields through the CLI?

ikerfresh
New Member

Hi,

I'm trying to do this search "sourcetype="MySQL" | multikv fields Variable_name Value | search Variable_name="Innodb_data_pending_reads", through the web it works fine, but with the CLI I can't do it.

Can anybody help me?

Regards,
Iker

Tags (2)
0 Karma

fk319
Builder

There are several output commands, I would suggest outputcsv.
You may also opt for just using fields.
I am not clear where you want the fields to go, to a file or to stdout.

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