Centos 9 Splunk可视化日志

CentOS 运维避坑实战

CentOS7.9 安装 Python3.8.16 后 yum 报错,快速修复方案

系统版本

[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 重启

在这里插入图片描述
在这里插入图片描述

CentOS 运维避坑实战

CentOS7.9 安装 Python3.8.16 后 yum 报错,快速修复方案

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

友人a笔记

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值