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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...