Skip to main content
Question

How can I get notifications.log from the Leader Node, and forward them to Splunk?

  • Mar 11, 2025 3:15 AM UTC
  • 11 replies
  • 158 views

Hello,How can I get notifications.log from the Leader Node, and forward them to Splunk?

11 replies

Install a Splunk UF on the leader or install a Cribl Edge agent on the leader - one of those can forward the leader's logs on


  • Author
  • Employee
  • Mar 11, 2025 4:35 AM UTC

So there is no way to forward it with the help of the Leader?There would be an option to send it from workers via Splunk HEC though. But trying to see if Cribl Leader is of any help in this matter


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

Edge is preferred, of course :slightly_smiling_face:


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

Leaders don't transport data


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

you can query the API


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

using REST Collector


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

Worker -> REST call to Leader -> send results


  • Author
  • Employee
  • Mar 11, 2025 4:35 AM UTC

And if I have more than one Worker, would it result in duplicates?


Jon Rust
Forum|alt.badge.img
  • Employee
  • Mar 11, 2025 4:35 AM UTC

no. REST Collections are coordinated by ... the leader


  • Author
  • Employee
  • Mar 11, 2025 4:35 AM UTC

Okay. Thanks a lot!


Raanan Dagan

One solution is to create a REST API CollectorCollect URL = `http://leader:9000/api/v1/system/logs/notifications.log`And in the Authentication use the ' Login ' option to obtain the bearer tokenAt that point you can forward the data to Splunk