Splunk Search

How can I define different export fields set of the "FieldPicker" for different apps?

William
Path Finder

For example, I want to only display "host", "sourcetype" for an app A in the default search result of "Events Table", but only "source", "eventtype" for app B. How can I do this?

0 Karma
1 Solution

William
Path Finder

the default fields set is defined by the viewstates.conf whose path is

$Splunk\etc\users\USER_NAME\APP_NAME\local\viewstates.conf

and it is controlled by the FieldPickers as follows

[flashtimeline:_current] FieldPicker_0_6_1.fields = ...

View solution in original post

William
Path Finder

yes. i have found the answer. thanks.

0 Karma

William
Path Finder

the default fields set is defined by the viewstates.conf whose path is

$Splunk\etc\users\USER_NAME\APP_NAME\local\viewstates.conf

and it is controlled by the FieldPickers as follows

[flashtimeline:_current] FieldPicker_0_6_1.fields = ...

jrodman
Splunk Employee
Splunk Employee

Are you talking about having a set of default selected fields by app?

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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