官术网_书友最值得收藏!

Forwarding Splunk's internal logs to the indexers

On all Splunk nodes except the indexers, we want to have all of Splunk's internal logs forwarded to the indexers instead of indexing them locally; this reduces disk space usage and it makes the internal logs for all the Splunk nodes searchable without having to log into each node individually – you can determine which node a specific log entry came from by the host field.

In the /opt/splunk/etc/system/local directory, create an outputs.conf file and add the following entries (replacing the example <ipaddress>:9997 entries with the correct IP addresses and receiving port, if different) for your indexers. We'll let this node pick up this configuration upon the next restart of Splunk after you've set up the indexers. Remember to perform this step on all of your nodes (except indexers):

[indexAndForward]
index = false

[tcpout]
defaultGroup = dev_test_indexers
forwardedindex.filter.disable = true
indexAndForward = false

[tcpout:dev_test_indexers]
server=172.31.28.223:9997,172.31.39.185:9997,172.31.13.169:9997

We're done with this node for now. We needed these components to be in place first so that we can point all the other servers to the license master for licensing, and point the indexers to this cluster master node during their setup.

主站蜘蛛池模板: 上思县| 嘉荫县| 兴海县| 汕尾市| 邛崃市| 桃江县| 四会市| 唐河县| 寿宁县| 铜陵市| 房山区| 衢州市| 西安市| 闵行区| 雷山县| 宜城市| 板桥市| 天台县| 通山县| 商洛市| 新宾| 九江市| 拜城县| 进贤县| 分宜县| 宜宾市| 云南省| 庆阳市| 正阳县| 张掖市| 屯门区| 乌鲁木齐市| 封丘县| 红原县| 景德镇市| 偃师市| 亳州市| 肥城市| 定远县| 闻喜县| 江孜县|