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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...