Skip to main content
Solved

BindPlane OpenTelemetry collector

  • May 30, 2024
  • 7 replies
  • 129 views

Aravind3
Forum|alt.badge.img+8

Dear All,
Could anyone please give a documentation for how to use "BindPlane OpenTelemetry collector" for syslog collection and how to collect metric logs with the collector?
Thanks,

Best answer by mikewilusz

Syslog can mean a couple different things. If you want to open a TCP listener (similar to the SecOps forwarder) you can find details here: https://observiq.com/docs/resources/sources/tcp

If you're interested in "tail"ing a syslog file, you can use a file reader. I have an example on my github here: https://github.com/pilot006/observiq-chronicle-example-config/blob/main/config_nix.yaml

For metrics are you interested in collecting metrics from the host, or rather collecting metrics from Bindplane related to the agent?

-mike

7 replies

mikewilusz
Staff
Forum|alt.badge.img+10
  • Staff
  • Answer
  • May 30, 2024

Syslog can mean a couple different things. If you want to open a TCP listener (similar to the SecOps forwarder) you can find details here: https://observiq.com/docs/resources/sources/tcp

If you're interested in "tail"ing a syslog file, you can use a file reader. I have an example on my github here: https://github.com/pilot006/observiq-chronicle-example-config/blob/main/config_nix.yaml

For metrics are you interested in collecting metrics from the host, or rather collecting metrics from Bindplane related to the agent?

-mike


Aravind3
Forum|alt.badge.img+8
  • Author
  • Bronze 2
  • May 30, 2024

Syslog can mean a couple different things. If you want to open a TCP listener (similar to the SecOps forwarder) you can find details here: https://observiq.com/docs/resources/sources/tcp

If you're interested in "tail"ing a syslog file, you can use a file reader. I have an example on my github here: https://github.com/pilot006/observiq-chronicle-example-config/blob/main/config_nix.yaml

For metrics are you interested in collecting metrics from the host, or rather collecting metrics from Bindplane related to the agent?

-mike


Hi @mikewilusz ,
Thanks for providing these documents. This is helpful.
I want to collect metric logs from the host.

Thanks,
Aravind S


Aravind3
Forum|alt.badge.img+8
  • Author
  • Bronze 2
  • June 5, 2024

Hi @mikewilusz ,
Thanks for providing these documents. This is helpful.
I want to collect metric logs from the host.

Thanks,
Aravind S


Dear All,
Could anyone give an update on this?


  • June 18, 2024

Hi @mikewilusz ,
Thanks for providing these documents. This is helpful.
I want to collect metric logs from the host.

Thanks,
Aravind S


Hi @mikewilusz ,

Any update on this?
Also could you provide the sample conf file for syslog collection?
Thanks,
Aravind


RanjithHegdeK
Forum|alt.badge.img+2

Hi All,

Please find the below sample configuration file and  useful link;

receivers:
windowseventlog/source0__application:
attributes:
log_type: windows_event.application
channel: application
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
windowseventlog/source0__security:
attributes:
log_type: windows_event.security
channel: security
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
windowseventlog/source0__system:
attributes:
log_type: windows_event.system
channel: system
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
exporters:
chronicleforwarder/forwarder:
export_type: syslog
raw_log_field: body
syslog:
endpoint: ForwarderIP:port
transport: udp or tcp
service:
pipelines:
logs/source0__forwarder-0:
receivers:
- windowseventlog/source0__system
- windowseventlog/source0__application
- windowseventlog/source0__security
exporters:
- chronicleforwarder/forwarder

Solved: BindPlane OpenTelemetry collector - Google Cloud Community

 


Aravind3
Forum|alt.badge.img+8
  • Author
  • Bronze 2
  • July 30, 2024

Hi All,

Please find the below sample configuration file and  useful link;

receivers:
windowseventlog/source0__application:
attributes:
log_type: windows_event.application
channel: application
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
windowseventlog/source0__security:
attributes:
log_type: windows_event.security
channel: security
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
windowseventlog/source0__system:
attributes:
log_type: windows_event.system
channel: system
max_reads: 100
poll_interval: 1s
raw: true
start_at: end
exporters:
chronicleforwarder/forwarder:
export_type: syslog
raw_log_field: body
syslog:
endpoint: ForwarderIP:port
transport: udp or tcp
service:
pipelines:
logs/source0__forwarder-0:
receivers:
- windowseventlog/source0__system
- windowseventlog/source0__application
- windowseventlog/source0__security
exporters:
- chronicleforwarder/forwarder

Solved: BindPlane OpenTelemetry collector - Google Cloud Community

 


Thanks @RanjithHegdeK 


matthewnichols
Community Manager
Forum|alt.badge.img+16
  • Community Manager
  • April 4, 2025

Hi @Aravind3, we just embedded our Bindplane and Data Pipeline Management webinar. Check it out here. Hopefully it helps with some of your other uses cases or as you leverage these features.