Getting Data In

Workflow Action: How to add a header?

Girasole
New Member

I need to add a header to the link I'm using. The header is used for authentication. How can I make that happen?

0 Karma

cathaladams21
Engager

Did you ever get this solved? I'm trying to do the same thing.,Did you get this one figured out? I'm trying to do the same thing.

0 Karma

cmerriman
Super Champion

I guess i'm not entirely sure what you mean about header to a link.
what type of workflow action have you created?
http://docs.splunk.com/Documentation/Splunk/6.6.0/Knowledge/CreateworkflowactionsinSplunkWeb#Set_up_...

0 Karma

Girasole
New Member

An HTTP GET request can have a header field to convey more information to the target server than what's in the URI. I couldn't paste the actual example in the question because I don't have enough Karma points to put in anything that looks like a link. A common header field is Content-Type. It might look like this:

Content-Type: application/json

Others are listed in Wikipedia under "List of HTTP header fields". How would we had a header field to a Splunk "Workflow Action" for an HTTP GET uri?

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...