Documentation menu

Docs Connections: Splunk

Ask Splunk

Attach a connection and ask in plain words. Verbiqo writes every search itself, runs it read-only, shows each one it ran, and answers only from what came back. A question that says what you want, where to look and when gets the fastest and most precise answer.

Attach

/splunk prod

Use the name you gave the connection. /splunk off stops searching it and leaves other systems attached. /sources shows what is attached. A question only ever reaches the connections attached in this conversation.

The shape of a good question

<what you want>  <where: index, host, application>  <when>
any problems with orders-api in index shop in the last hour
top 10 hosts by events in index apps in the last 15 minutes
what changed on db01 since 1 Oct

Each part you leave out is something Verbiqo has to work out by reading the deployment first, or by asking you. On a large deployment that is the difference between seconds and minutes.

What you want: the words that choose the kind of answer

The first words of the question decide what Verbiqo does. Use the ones that match what you need.

You wantStart withWhat Verbiqo does
To know if something is brokenany problems, any errors, any issues, is … healthyThe failure check: reads the busiest logs, finds the failures by their level across the whole period, and names known events (crashes, failovers, 5xx, pools exhausted and many more) per host, with a timeline.
Why something failedwhy did … failThe same failure check, about the system you name.
What was happeningwhat happened, what did … log, what changedReads everything the system logged in the period, not only failures, grouped into kinds of line with their counts, hosts and times.
Every line about one thingfind every, show lines with, when did … last happenSearches for the words you give and returns the matching lines and when they occurred.
A number, a ranking or a trendhow many, count of, top 10, per hour, by host, average, 95th percentile, compare A and B, the last 20 linesBuilds one search for exactly that result. The answer may use only figures from the results.
What the deployment holdslist + indexes, hosts, sourcetypes, sources or applicationsAnswers from Splunk's index files, without reading events.
Where Verbiqo's checks fall shortwhat errors don't you recognise yetLists error lines already read that no check names. Runs no search.

Where to look: the words that narrow the search

GiveSay it likeWhy it helps
The index, with the word indexin index appsThe search covers one index instead of all of them. Without the word index, apps may be read as the name of a system.
A host or clusteron db01, on the orders cluster, web-1Host names are matched directly, every word of the name. postgresql-payments matches its hosts; postgresql alone matches every PostgreSQL host.
An application or containerorders-api, the checkout appWhen no host carries the name, Verbiqo looks in sourcetypes, source files and the fields inside events, such as a container or service name.
A sourcetype or fileaccess_combined, event.logUsed as written when the deployment has it.
A fieldby status, where service is checkout, average of durationThe search filters or groups on that field instead of looking for words in the raw lines.
What a failure looks like, in logs without error levelsstatus 5xx, where outcome is failedAccess and audit logs record failures as codes or outcomes, not as the word error.

Every answer marks the kinds of line Verbiqo has not seen in earlier reads of that log as new, so a log asked about before shows what started since.

When nothing matches the name, Verbiqo reads what the index holds and offers the closest entries as a numbered menu (see Menus).

When: the periods Verbiqo understands

The period is read by code, not by the model, on your computer’s clock and in its time zone. The answer always states the exact period it searched, in your zone and in UTC.

SaySearches
in the last 15 minutes, last 2 hours, past 3 days, 3 hours agoThat long, up to now.
last hour, last day, last weekOne hour, day or week, up to now.
since 9am, since midnight, before 9amFrom that time today to now, or from midnight to that time.
between 2 and 3pm, from 14:00 to 16:00, 10pm to 2amThose hours today, or yesterday if today’s are still to come.
at 3am, around 14:30The half hour either side.
last night, this morning, this afternoon, this evening18:00 to 06:00, 00:00 to 12:00, 12:00 to 18:00, 18:00 to midnight.
today, yesterday, on 3 Oct, on 2026-10-03The calendar day, midnight to midnight.
yesterday 2pm to 4pm, on 3 Oct between 2 and 4pm, at 3am yesterdayThose times on that day.
since 1 Oct, between 2026-10-01 and 2026-10-03From that day, or across those days.
  • Another time zone: name it in the question, as since 9am UTC, at 03:00 EDT, since 10:00 UTC+2 or at 9am Europe/London. To read every question in one zone, set VERBIQO_TIME_ZONE (for example UTC).
  • A time needs am, pm or minutes: 9am and 09:00 are times; between 2 and 4 is not, and falls back to the last 24 hours.
  • Nothing said: searches cover the last 24 hours. Listings, and the index reads behind a question, cover the last 7 days and are remembered for 12 hours.
  • Longest period: 7 days per search. A longer one is shortened to its last 7 days, and the answer says so.
  • Logs stamped in the wrong zone: when Splunk indexed a log’s lines hours away from the time it gave them, the answer says so. Its times are then off by those hours, in Splunk’s own search too. The fix is a TZ setting for that sourcetype in Splunk’s props.conf.

Saying a period also keeps listings cheap. Without one, listing the sources of a busy index reads 7 days of its index files, which can take minutes:

list sources in index apps in the last hour
what hosts are in index shop in the last 30 minutes
what sourcetypes are in index shop in the last hour

A listing for a stated period counts exactly that period, and is not remembered, so it never stands in for the full 7 days.

Examples

any problems in index shop in the last 15 minutes
any errors on db01 since 9am
is the orders cluster healthy today
what happened on postgresql-payments yesterday
what did orders-api log between 2 and 3pm
what happened on postgresql-payments at 3am
why did the backup on postgresql-backup fail yesterday
find every "connection reset" in index apps in the last hour
how many status 5xx per hour in index web in the last 12 hours
top 10 hosts by events in index apps in the last 15 minutes
average duration by service in index shop in the last hour
show the last 20 lines from orders-api in index shop
compare web-1 and web-3 by status in the last hour
list all the indexes
list applications in index apps in the last hour
what errors don't you recognise yet

When the question names an index but nothing narrower, or a name the deployment does not hold, Verbiqo lists the likeliest entries and, with an index named, everything in that index. Nothing is read until you choose. Reply with:

  • a number, or several: 2, 2 and 5
  • a name or part of one: event.log, the report-worker one
  • all of them, or the last option for everything in the index
  • your own words: the api logs, not the listener

The same question then runs on your choice, over the same period. A reply that asks something else is taken as a new question.

Follow-ups build on the last question. And how many per hour?, same for catalog or what about yesterday? keep its index, subject and period unless you name new ones. Naming something narrower, such as a file, a host or a service, asks the same question about that, inside the same index.

What makes an answer slow or vague

AvoidBecauseInstead
No indexVerbiqo reads every index to find the name.… in index apps
No period on a listingReads 7 days of index files.… in the last hour
any problems in index X on a big indexAsks which logs you mean before searching.Name the application, host or file, or choose from the menu.
A bare number as a timebetween 2 and 4 is not read as a time.between 2 and 4pm
errors in an access logAccess logs have no error level.status 5xx

Recognised events are matched on the English wording each server and runtime writes. A log written in another language is still read for its error levels, but its events are not named.

With other sources, on one timeline

/splunk prod
/pg orders
/prom prod

Attach the database or cluster too, and Verbiqo joins what it logged with what it shows now. Ask what happened yesterday? and the answer carries a timeline from every source: restarts, failovers, backups and log events from Splunk, the machine’s reboots and history from Prometheus, each with its source. It places events in time; it does not say one caused another. What happened earlier

From a terminal

In verbiqo chat, attach with /splunk as in the app, or name the connection when you start:

verbiqo chat --splunk prod "any problems in index shop in the last hour"

The verbiqo splunk commands below need no chat session.

verbiqo splunk ask prod "what did mysql log on db01 yesterday"
verbiqo splunk locate prod postgresql-billing --sourcetypes
verbiqo splunk shapes prod --index main --sourcetype postgresql-backup
verbiqo splunk indexes prod
CommandDoes
ask <name> "<question>"The same investigation as the app, printing every search as it runs. --quiet prints only the answer; --json prints it as data.
locate <name> <cluster> [--days 7] [--sourcetypes] [--refresh]Which indexes hold hosts answering to a name, over the last --days (1 to 30). --sourcetypes adds what each index holds for those hosts. The result is kept and reused; --refresh asks the deployment again. No model is involved.
shapes <name> --index I --sourcetype S [--hours 24] [--limit 5000]Reads up to --limit events (at most 20,000) from one log and groups them into line shapes, marking the failures and which shapes are new since last time. No model is involved.
indexes <name>The indexes this credential can actually read, with their event counts. An index missing here returns no events and no error.

Behind a load balancer with several search heads, a saved session works only on the head that issued it. Type your password when verbiqo chat asks, or use a Splunk token. Connection commands (add, login, test) are on Set up Splunk.

Something missing or unclear? Email hello@verbiqo.app.