Support Questions

Find answers, ask questions, and share your expertise

I cant configure 2 flume anget

avatar
Master Collaborator

Hi:

from Ambari, i cant configure 2 diferents fluem agent with diferents configuration i mean, when i change the config file from one agent, this file change in bouth agent.

Please any help??

1 ACCEPTED SOLUTION

avatar
Guru

hi @Roberto Sancho , you can put 2 agents config into the same config file : basically you'll have

agent1.sources = source1 
agent1.channels = channel1
agent1.sinks = sink1

agent2.sources = source2 
agent2.channels = channel2
agent2.sinks = sink2

View solution in original post

3 REPLIES 3

avatar
Guru

hi @Roberto Sancho , you can put 2 agents config into the same config file : basically you'll have

agent1.sources = source1 
agent1.channels = channel1
agent1.sinks = sink1

agent2.sources = source2 
agent2.channels = channel2
agent2.sinks = sink2

avatar
Master Collaborator

it works for me

avatar
Master Collaborator

but, i want 1 agent peer machine, i mean host1 agent 1 and host 2 agent2 , but i cant change it from ambari.

All the configuration affect all agents