Getting Data In

Writing in outputs.conf using the right endpoint ?

thibault28
Engager

Hi,

I am using Splunk Enterprise and I need to be able to write into the outputs.conf file using the browser. I haven't found the right endpoint yet so I am just wondering if it is possible.

Thanks

0 Karma
1 Solution

renjith_nair
Legend

Try this ,

http://docs.splunk.com/Documentation/Splunk/6.0/RESTAPI/RESTconfig#POST_configs.2Fconf-.7Bfile.7D

Below works for me

curl -k https://localhost:8089/servicesNS/nobody/search/configs/conf-outputs -d name=test_output_endpoint -d SHOULD_LINEMERGE=false

 bin]$ ./splunk btool outputs list test_output_endpoint
[test_output_endpoint]
SHOULD_LINEMERGE = false
---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

renjith_nair
Legend

Try this ,

http://docs.splunk.com/Documentation/Splunk/6.0/RESTAPI/RESTconfig#POST_configs.2Fconf-.7Bfile.7D

Below works for me

curl -k https://localhost:8089/servicesNS/nobody/search/configs/conf-outputs -d name=test_output_endpoint -d SHOULD_LINEMERGE=false

 bin]$ ./splunk btool outputs list test_output_endpoint
[test_output_endpoint]
SHOULD_LINEMERGE = false
---
What goes around comes around. If it helps, hit it with Karma 🙂

thibault28
Engager

Thanks, this is what I was looking for.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...