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!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...