Log Source Watch
LOG SOURCE WATCH · TECHNICAL DOCUMENTATION

Expected log-source availability for Splunk

Maintain the log sources Splunk should receive, measure availability from Splunk receive time, and manage source-specific thresholds, lifecycle, maintenance, diagnostics and audit.

Version 4.9.4Splunk EnterpriseKV Store_indextime availabilitySplunkbase App 10032

Overview

LSW answers: which telemetry should exist, what policy applies to it, and is it reporting now?

Expected inventory

Registered index + host pairs define what Splunk is expected to receive.

Receive-time availability

Silence uses _indextime, not only source-provided timestamps.

Policy & lifecycle

Per-source threshold, ACTIVE, MAINTENANCE and RETIRED state.

Operational evidence

Audit Trail, optional _internal diagnosis and Application Health.

Requirements

RequirementDetails
PlatformSplunk Enterprise. Validate the exact target version before production use.
KV StoreRequired for inventory, observations, state and audit.
Management permissionsadmin or sc_admin.
DependenciesNo third-party Python packages or external SaaS runtime service.

Installation

  1. Install the TGZ: Apps → Manage Apps → Install app from file.
  2. Restart Splunk when a release adds/changes custom commands, REST endpoints or scheduler definitions.
  3. Open Log Source Watch and complete Setup on a new installation.
  4. Verify Reports → Application Health after setup or upgrade.

Search Head Cluster

Community supports one Splunk deployment, either standalone or one SHC. Use the normal SHC deployer workflow and keep any paid entitlement consistent across members.

Setup

Setup is for first initialization. Select a controlled first index, lookback and sensible threshold, then initialize. After the app is ready, use Management → Discover to expand coverage.

Community: no license file, no expiration, full core workflow, up to 2,500 Monitored Sources in one standalone or one SHC deployment.

Core concepts

ConceptMeaning
Monitored SourceOne unique index + host pair in ACTIVE or MAINTENANCE. This is the licensed capacity unit.
Source keysha256(index."|".host).
Last receivedLatest _indextime; controls receive age and SILENT evaluation.
Latest event timeLatest event _time; retained for investigation only.
Silence thresholdMaximum receive age; Management supports 1–10,080 minutes.
Sourcetype policyOptional index + host + sourcetype policy; does not consume another licensed source slot.
last_received   = max(_indextime)
last_event_time = max(_time)
receive_age     = now() - last_received

State model

PriorityStateCondition
1RETIREDRetained for history; no alarm and no licensed capacity.
2MAINTENANCEMaintenance active or until manually cleared.
3NO LOG OBSERVATIONRegistered but no receive-time observation exists.
4SILENTreceive_age > threshold_seconds.
5OKActive and received inside threshold.
Heartbeat is a separate diagnostic dimension and never forces a SILENT source to OK.

Freshness & risk

BandThreshold consumption
Healthy margin<50%
Watch50–80%
Near threshold80–100%
Silent>100%
Short thresholds: core receive-time/state jobs run every minute. Use very short thresholds only when scheduler runtime stays comfortably inside cadence.

_internal heartbeat

LSW_Update_Heartbeat checks recent index=_internal sourcetype=splunkd source=*splunkd.log. Default heartbeat freshness is 900 seconds / 15 minutes.

SourceHeartbeatMeaning
SILENTALIVESource silent · _internal active. Investigate input/log production/routing first.
SILENTSTALESource + _internal stale. Host/forwarder/connectivity becomes more plausible.
SILENTUNKNOWNNo matching heartbeat evidence. Do not infer host failure.

Agentless syslog, HEC and API sources may legitimately have no matching heartbeat.

Management

Workspace tabs: Sources · Bulk Actions · Discover · Sourcetype Policies · Setup.

Sources

Lifecycle, threshold, maintenance, exact index + host live receive-time verification and recent audit history.

Bulk Actions

Threshold, maintenance, end maintenance, activate and retire. The 10,000-source limit is an operational safety cap, not a licensing limit.

Discover

Operator-driven tstats against only the selected index/lookback. Enrollment writes inventory, observations, state and audit.

Sourcetype policies

Use a feed policy when host-level availability is too broad and one feed needs its own silence threshold.

index=windows host=dc01             OK
├─ XmlWinEventLog:Security          OK
├─ XmlWinEventLog:System            OK
└─ XmlWinEventLog:Sysmon            SILENT
  • Own receive-time threshold.
  • Lifecycle and maintenance inherited from the base source.
  • Base host heartbeat enriches feed diagnosis.
  • No additional licensed source capacity.

Feed key: sha256(index."|".host."|".sourcetype).

Reports & Health

Silent Sources

Current base sources over threshold.

Application Health

Scheduler runtime/freshness, KV Store, licensing and monitoring counts.

Audit Trail

Who changed what, where and when.

Splunk Messages

One deduplicated warning while any source/feed is SILENT; clears on recovery.

OK = fresh success; WARN = skipped; ERROR = unsuccessful; STALE = missing or old evidence.

Scheduled jobs

JobCadencePurpose
LSW_Update_LastSeen1 minBase receive-time and latest event time.
LSW_Update_Feed_LastSeen1 minSourcetype receive-time.
LSW_Update_Heartbeat5 min, +1_internal evidence.
LSW_Expire_Maintenance1 minExpire timed maintenance.
LSW_Build_State1 minCanonical base state.
LSW_Build_Feed_State1 minCanonical feed state.
LSW_Update_Splunk_Message1 minDeduplicated SILENT message.
LSW_Export_SilentHost_File1 minRefresh silent CSV.
LSW_Export_Health_File5 min, +4Refresh health CSV.

On-demand: LSW_SilentHost, LSW_SilentFeed, LSW_Health, LSW_AuditTrail.

KV Store data model

CollectionPurpose
lsw_inventoryBase identity and policy.
lsw_lastseenReceive time, event time and observation metadata.
lsw_stateCanonical base state and diagnosis.
lsw_heartbeatOptional host heartbeat evidence.
lsw_feed_inventorySourcetype policy definitions.
lsw_feed_lastseenFeed observations.
lsw_feed_stateCanonical feed state.
lsw_auditAdministrative history.
lsw_healthReserved/persisted health integration state.

Licensing

EditionPriceCapacityModel
Community€0/yearUp to 2,500One standalone or one SHC; full core workflow; no license file or expiration.
Enterprise€4,990/year + VAT2,501–25,000Enterprise internal use; multiple deployments can be entitled.
Enterprise Plus€7,990+/year + VAT>25,000 / custom / unlimitedCustom deployment/support/SLA and separately agreed commercial rights.

ACTIVE and MAINTENANCE base sources consume capacity; RETIRED does not. Sourcetype policies do not multiply capacity. Paid files are verified with the packaged RSA public verification key.

Canonical public reference: logsourcewatch.com/license.html.

Upgrade

  1. Back up KV Store/app-local configuration according to your normal Splunk change process.
  2. Install the new TGZ over the existing app; do not delete KV Store or local/.
  3. Restart Splunk when commands, REST endpoints or scheduler definitions changed.
  4. Open Application Health and confirm all core timestamps advance.
  5. Validate one known source with exact index + host, max(_indextime) and max(_time).

SHC

Use the supported SHC deployer workflow and validate KV Store replication, scheduler ownership and runtime behavior after deployment.

Browser cache

Current 4.9.4 builds use versioned Management JavaScript assets. Hard refresh if an old UI remains visible after upgrade.

Troubleshooting

SILENT but events exist

Always search the exact monitored identity, not index=*.

index=main host="Tehomylly" earliest=-1d latest=+1d
| stats max(_indextime) AS last_received max(_time) AS latest_event_time count

Check LSW state

| inputlookup lsw_lastseen
| search index="main" host="Tehomylly"
| table index host last_received last_event_time observation_basis updated_at

NO RUN / STALE scheduler

/opt/splunk/bin/splunk btool savedsearches list LSW_Update_LastSeen --debug
| rest /servicesNS/nobody/logsource_watch/saved/searches count=0
| search title="LSW_Update_LastSeen" OR title="LSW_Build_State"
| table title disabled is_scheduled cron_schedule next_scheduled_time

Core jobs should show disabled=0, is_scheduled=1 and one-minute cron where applicable.

Security

  • Management writes use authenticated Splunk app operations.
  • Operational data remains in app-owned KV Store.
  • Discovery is operator-driven and scope constrained.
  • Commercial license validation is local and RSA-signature verified.
  • The private issuer key is never shipped in the app.
  • No third-party Python runtime dependency or vendor licensing cloud is required.
On-prem trust boundary: an OS/root administrator can technically patch locally installed code. Signed entitlements and license terms define commercial rights.

Run Splunk AppInspect against the exact final TGZ and validate target-version compatibility, scheduler cost, KV Store behavior and SHC behavior before production/public release.