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!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...