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!

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...