RousselTMLEARNING

Observability

Splunk best practices

Best practices for running Splunk in production: data quality and sourcetypes, index design, license control, efficient searches, lean dashboards and alerts, security and permissions, configuration management, platform health and checklist.

1. Data #

Quality starts at ingest.

Rules #

AreaPractice
Sourcetypesone per format, the six essential settings set explicitly; reuse add-on sourcetypes
Timestampcheck time zone and format: a wrong _time makes data unfindable
Indexper permission and retention population; stable naming (org_web_prod)
Volumefilter DEBUG and noise before indexing (TRANSFORMS, Ingest actions, Edge Processor); mask personal data
CIMmap security sources to the CIM for Enterprise Security
Best practice : Test each new sourcetype in a staging index with the Add Data wizard before opening it in production.

2. Searches and content #

Frugality and readability.

Rules #

  • Always index, sourcetype and a time range; stats rather than transaction or join; tstats whenever possible.
  • Scheduled rather than real-time alerts; offset windows (-6m to -1m) to allow for indexing delay; throttling on.
  • Spread scheduled search times (not all at */5 on the same minute) and watch skipped searches.
  • Dashboards: base searches and chains, scheduled reports for shared views.
Watch out : A real-time index=* over all time, run by a user, can slow the whole platform: limit these capabilities per role.

3. Platform and security #

Running sustainably.

Regular review #

Platform review
  • Configuration in apps versioned in Git, deployed by the deployment server, cluster manager and deployer.
  • SAML or LDAP authentication, team roles limited to their indexes, dedicated service accounts for integrations.
  • TLS on the UI, port 9997 (S2S) and HEC; HEC tokens per source with allowed indexes.
  • Monitoring Console and alerts on blocked queues, silent forwarders and license overage.

Checklist #

ItemCheck
Dataclean sourcetypes, correct _time, no personal data in clear
Licensevolume per index tracked, alert at 80% of license
Retentioneach index retention matches requirements (security, legal)
Searchesno continuously skipped scheduled search, no needless real-time alert
Availabilitysuitable RF/SF, rolling restart tested, configuration backup
AccessSSO, roles reviewed quarterly, sensitive capabilities reserved

Commands to know #

Commands to know
  • splunk btool check : validate configuration
  • index=_internal source=*license_usage.log type=Usage : license usage
  • index=_internal sourcetype=scheduler status=skipped : skipped searches
  • | rest /services/data/indexes | table title frozenTimePeriodInSecs maxTotalDataSizeMB : index retention

Sources #

Checked in November 2026 (Splunk Enterprise 10.6): check the release notes before relying on a detail, Splunk Cloud Platform evolves faster than the on-premises version.

Related articles

Splunk: the machine data platform at a glance

Discover Splunk: the platform's role, components (forwarders, indexers, search heads), ports, events and defa…

Installing Splunk and ingesting data

Installing Splunk Enterprise (package or Docker), understanding $SPLUNK_HOME and configuration file precedenc…

SPL: Splunk search fundamentals

Learning the SPL language: search structure, time range and time modifiers, search modes, filtering commands …

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!