Security

How do I limit the fields returned by Splunk's REST handlers?

LukeMurphey
Champion

I am attempting to use Splunk's REST handlers. In my case, the REST handler returns lots of fields that I don't need. This causes a lot of data to be transmitted between the browser and Splunk. Is there a way to limit the fields returned?

Tags (1)
0 Karma
1 Solution

LukeMurphey
Champion

Yes, this can be done. Use the "f" parameter to only return the field you care about. Include the parameter for each field you want if you want more than one.

Something like this:

storage/passwords?f=name&f=eai:acl&f=username&f=realm

View solution in original post

LukeMurphey
Champion

Yes, this can be done. Use the "f" parameter to only return the field you care about. Include the parameter for each field you want if you want more than one.

Something like this:

storage/passwords?f=name&f=eai:acl&f=username&f=realm
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...