Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

194
Views
Error while creating a search request using Splunk JS SDK

For this example: https://github.com/splunk/splunk-sdk-javascript/blob/master/examples/node/helloworld/search_normal.js

When I modify line 53.

service.search("search index=_internal | head 3", {}, done);

To this new query

"index=comtech_np sourcetype=comtech_cdv_csv ENodeB=* "PSAP Name"=* "Calling Party Number"=* "Call Start Time"=* "Call End Time"=*"

I get errors. How would I rewrite this query in node to execute.

The error:

[SPLUNKD] Unknown search command 'index'.
C:\Users\shahrsu\test\s4.js:37
      console.log("Job SID: ", job.sid);

When I modify query to:

"ENodeB=* "PSAP Name"=* "Calling Party Number"=* "Call Start Time"=* "Call End Time"=*"

I get

[SPLUNKD] Unknown search command 'ENodeB'.
C:\Users\shahrsu\test\s4.js:37
      console.log("Job SID: ", job.sid);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!