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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...