All Apps and Add-ons

Why some of the RESTAPI not reporting data to Splunk?

sarvesh_11
Communicator

Hey Splunkers!
I know most of the Geniuses are busy in .conf2019 at this time 🙂

I have a question, we have configured several REST APIs they were reporting data to splunk. Bt now, i am getting the data only from some of them. While if i hit the Endpoint URL directly on browser, i do get the data on the browser.

I am passing the credentials to EndPoint URL through CyberArk to all the APIs, initially i thought there could be the glitch between CyberArk passing the credentials, but if this is so, then none of the API should report the data.

TIA

0 Karma

woodcock
Esteemed Legend

Broken pipe means that the connection was broken mid-stream. Usually this means that a third party such as oomkiller got involved.

0 Karma

woodcock
Esteemed Legend

You are going to have to share more details (and I don't mean credentials).

0 Karma

sarvesh_11
Communicator

Hey @woodcock ,
When i check the splunkd logs of the APIs for which data is not coming, i get following message:

WARN HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/nobody//data/inputs/rest//: Brokren pipe

INFO ExecProcessor - Removing status item "/opt/splunk/etc/apps/rest_ta/bin/rest.py (rest://) (IsModInput=yes).

We are using Splunk Enterprise 7.2.

We have seen this socket error, Broken pipe previously in our older version (6.6.0), then we have upgraded the splunk version also we had maximize the ulimits, but still we are getting the same.

Surprisingly if disable and again enable the APIs , the data will get report to splunk.

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!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

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 ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...