Monitoring Splunk

How to configure Field Perf Benchmark App

Blu3fish
Path Finder

What actually needs to be configured within Perf Test's tasks.conf file.

Also do the following global values need to be manually defined within benchmark.py? Starting on line 26:

config = None
resultsDir = None
resultsStream = None
logStream = None
splunkHome = None
splunkDb = None
splunkVersion = None
splunkCmd = None
timestamp = None
timestampForFilenames = None
authArg = None

This could probably be squeezed under this thread: http://answers.splunk.com/questions/4671/how-to-use-field-perf-benchmark-app

Tags (2)

V_at_Splunk
Splunk Employee
Splunk Employee

What needs to be in tasks.conf:

  • the dataset (specifically, absolute path to a file) that you want to index, to see how long the indexing takes; this is an index task
  • if you want to time some searches on the resulting index (that was generated by the index task above), specify search tasks

This is not a system benchmark. For that, you could try adapting some of the UNIX App (or Windows App) scripts. The idea with Field Perf Benchmark App, was an OS-agnostic perf measurement tool.

This app is, indeed, all about your individual dataset (and, of course, your individual hardware).

And finally, no, you should not need to modify anything in benchmark.py script.

0 Karma

gfriedmann
Communicator

You should specify a directory with data to load and use for benchmarking. Then you run the benchmark script. Wait for it to complete, then check out the web interface for pretty results.

Repeat the benchmark for fun. Maybe the tasks will need new names (i'm not sure yet).

Make some changes to the system, and run it again. I think this is more of a system benchmark independant of your actual individual dataset.

0 Karma

V_at_Splunk
Splunk Employee
Splunk Employee

No, the tasks will not need new names, for when you run it again. The reports know enough to differentiate between successive runs.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Get Agentic with Splunk Lantern: Connect to Cisco Cloud Control, Transform ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

July Community Events: Master ITSI 5.0 & Automate Splunk

Struggling with alert fatigue or feeling like you're spending more time on infrastructure maintenance than ...

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...