目录
系统版本
[root@localhost ~]# cat /etc/redhat-release
CentOS Stream release 9

1. Splunk安装
1.1 安装
[root@localhost ~]# rpm -ivh --nosignature splunk-9.4.0-6b4ebe426ca6.x86_64.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
no need to run the pre-install check
Updating / installing...
1:splunk-9.4.0-6b4ebe426ca6 ################################# [100%]
complete

1.3 启动
[root@localhost ~]# /opt/splunk/bin/splunk start

1.4 同意license
Do you agree with this license? [y/n]: y

1.5 设置用户和密码
Please enter an administrator username: root
Password must contain at least:
* 8 total printable ASCII character(s).
Please enter a new password:
Please confirm new password:
Copying '/opt/splunk/etc/openldap/ldap.conf.default' to '/opt/splunk/etc/openldap/ldap.conf'.

1.6 查看登录地址
The Splunk web interface is at http://127.0.0.1:8000

2. Splunk 添加数据
2.1 登录

2.2 添加数据

2.3 监视此Splunk平台实例上的文件和端口

2.4 选择来源
文件和目录

2.5 选择来源类型

2.6 输入设置

2.7 检查

2.8 完成

2.9 搜索示例

3. 更改许可证组
3.1 系统-授权

3.2 Free许可证

3.3 重启




被折叠的 条评论
为什么被折叠?



