当前位置:网站首页>Splunk HEC 開啟8088 port
Splunk HEC 開啟8088 port
2022-07-21 17:04:00 【shenghuiping2001】
今天新配置的index 後端是8088 端口,前端HEC, 發現index server 上面8088 port 沒有打開。
原因:
indexer 沒有把HEC 服務打開,如果是 single instance 單node 的話,在界面: setting -> data input -> HEC 就可以啦。
下面說 集群的解决方法:
1: go to CM (cluster master) server: /opt/splunk/etc/master-apps/
看有沒有app, 如果沒有新建的app,下面就去 _cluster 這個app 下面:
2: 先創建一個token:
#uuidgen
152860bb-e150-4ee3-8d18-053e7092754a
3: 創建hec inputs 文件:
cat inputs.conf
[http]
disabled = 0
[http://hec_test]
disabled = 0
index = cpx
sourcetype = cpx_s
token =152860bb-e150-4ee3-8d18-053e7092754a
4: 創建indexes.conf:
[cpx]
coldPath = $SPLUNK_DB/cpx/colddb
enableDataIntegrityControl = 0
enableTsidxReduction = 0
homePath = $SPLUNK_DB/cpx/db
thawedPath = $SPLUNK_DB/cpx/thaweddb
repFactor = auto
5: 發布到index: splunk apply cluster-bundle
6: go to indexer server:
/opt/splunk/etc/salve-apps/ 發現剛才CM的app 過來啦, 而且看一下 port:
netstat -an | grep 8088
發現已經存在啦~
边栏推荐
猜你喜欢
随机推荐
中国 HCI 软件市场 TOP 10:华为、新华三、深信服、VMware、联想、SmartX、浪潮、青云、路坦力、曙光
经典自动化面试题
我来告诉你,一个草根程序员如何逆袭,成功进入BAT!
Is it safe to open a stock account online? Where to open a stock account
初识JVM(一)
Splunk HEC 开启8088 port
油猴插件使用
y72.第四章 Prometheus大厂监控体系及实战 -- prometheus server安装和node exporter安装(三)
100 page slide illustration "data exit safety assessment measures" and revision comparison (download attached)
ORA-01795 列表中的最大表达式数为1000
OneFlow v0.8.0正式发布
内网探测1-工作组信息收集&域内信息收集
Sanfeng intelligent tanghaiqin: insert smart wings for "agriculture, rural areas and farmers" and be the "leader" of smart agriculture | magnesium guest. Please go ahead
Jax calculation Selu function
Pedestrian recognition Reid
Multi active architecture design of wangzhe glory Mall (module 7 of architecture practice camp)
1011. Ability to deliver packages within D days
STM32 serial port screen learning
北森招股书:赛道优势凸显,一体化+中大客户是加分项
入门软件测试小知识点